test_repack.sh 216 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
#!/bin/sh

load_helper()
{
    . ../bin/$1
}

PMTYPE=apt-rpm

load_helper epm-repack

td=$(mktemp -d) || fatal
mkdir -p $td/{/etc,/opt/test}

cp -f test.spec.in test.spec
__fix_spec test "$td" test.spec

rm -rfv $td