gen-snapshot fixes for cron task

This commit is contained in:
omniton 2012-09-01 23:27:57 +03:00
parent b8d9861001
commit e25063a812
1 changed files with 2 additions and 6 deletions

View File

@ -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/