make sure we only shut down the stream if we actually have an active stream
[tricorder.git] / package / make-package.sh
index 9f10250925b28438e7ca1e2ba21f3ce9549c54ce..bb2256de51862db17bc399953246d315899096d5 100755 (executable)
@@ -6,7 +6,7 @@ cd ..
 origdir=`pwd`
 
 rm -v $pkgdir/*
-zip -r -D -0 $pkgdir/package.zip * -x package/{,.}*
+zip -r -D -0 $pkgdir/package.zip * -x package/{,.}* *.appcache
 dver=`date +%y.%j.%H`
 pkgsize=`wc -c $pkgdir/package.zip | awk '{ print $1 }'`
 sed -e "s/DVER/$dver/" -e "s/PKGSIZE/$pkgsize/" package/manifest.package > $pkgdir/manifest.package