also make sure not to package any hidden files in the package dir
authorRobert Kaiser <kairo@kairo.at>
Sun, 21 Jul 2013 15:35:45 +0000 (17:35 +0200)
committerRobert Kaiser <kairo@kairo.at>
Sun, 21 Jul 2013 15:35:45 +0000 (17:35 +0200)
package/make-package.sh

index ab1f333fc4fa0219a39e1a84ce5115e81898b5ae..e5e813954076bed2f6d26dd2433d418d11b8d6b7 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/{,.}*
 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