buildrepo: don't break if there are -*.apk files in dir

apk takes files that starts with - as params.
This commit is contained in:
Natanael Copa 2011-11-01 08:45:19 +00:00
parent 369e9d6980
commit bfc8e37323

View File

@ -105,7 +105,7 @@ build() {
tmpindex=$(mktemp).tar.gz
apk index --rewrite-arch $arch $oldindex -o $tmpindex \
--description "$repo $(cd $aportsdir && git describe)" \
*.apk
-- *.apk
abuild-sign $tmpindex && mv $tmpindex APKINDEX.tar.gz
chmod 644 APKINDEX.tar.gz
rm -f tmp.*