From e25063a8126a552a9bd86ef188b8182d9a62452e Mon Sep 17 00:00:00 2001 From: omniton Date: Sat, 1 Sep 2012 23:27:57 +0300 Subject: [PATCH] gen-snapshot fixes for cron task --- gen-snapshot.sh | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/gen-snapshot.sh b/gen-snapshot.sh index 5224daf53..b2f72e1ba 100755 --- a/gen-snapshot.sh +++ b/gen-snapshot.sh @@ -11,7 +11,7 @@ git pull echo "cleaning up previous build..." -rm -rf /tmp/airtime-* +rm -rf /tmp/airtime* mkdir -p ${BUILDDEST}airtime echo "copying files to temporary directory..." @@ -55,8 +55,4 @@ echo "running the build..." debuild -b -uc -us $@ || exit -# copy the new package to the public server -# scp /tmp/airtime_${VERSION}_all.deb apt.sourcefabric.org:/var/www/apt/snapshots/ - -# copy the build log too -# scp /tmp/airtime_${VERSION}_amd64.build apt.sourcefabric.org:/var/www/apt/snapshots/ +cp /tmp/airtime_${VERSION}* /var/www/apt/snapshots/