Use a manifest for package bits
authorSteve McIntyre <steve@einval.com>
Tue, 20 Dec 2016 15:03:13 +0000 (15:03 +0000)
committerSteve McIntyre <steve@einval.com>
Tue, 20 Dec 2016 15:03:13 +0000 (15:03 +0000)
strace-build-test

index eeadbd9..381b94f 100755 (executable)
@@ -123,12 +123,16 @@ rm -f $FILE
 # separate log file but using the same chroot for speed
 rm -rf ~/build/strace/package-test
 set +e
-wget --ca-certificate=/home/93sam/.CA/ca-certificates.crt -O /dev/null $PKG_TEST
+WGET_OPTS="--ca-certificate=/home/93sam/.CA/ca-certificates.crt"
+wget $WGET_OPTS -O /dev/null $PKG_TEST/MANIFEST
 if [ $? -eq 0 ]; then
     # Time to grab sources
     mkdir ~/build/strace/package-test
     cd ~/build/strace/package-test
-    wget --ca-certificate=/home/93sam/.CA/ca-certificates.crt -r -nd -np $PKG_TEST
+    wget $WGET_OPTS $PKG_TEST/MANIFEST
+    for file in $(cat MANIFEST); do
+       wget $PKG_TEST/$file
+    done
     DSC=$(ls *.dsc)
 
     cat > ~/build/strace/inside-schroot-test.sh << EOF