Commit bfc8e373 authored by Natanael Copa's avatar Natanael Copa
Browse files

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

apk takes files that starts with - as params.
parent 369e9d69
...@@ -105,7 +105,7 @@ build() { ...@@ -105,7 +105,7 @@ build() {
tmpindex=$(mktemp).tar.gz tmpindex=$(mktemp).tar.gz
apk index --rewrite-arch $arch $oldindex -o $tmpindex \ apk index --rewrite-arch $arch $oldindex -o $tmpindex \
--description "$repo $(cd $aportsdir && git describe)" \ --description "$repo $(cd $aportsdir && git describe)" \
*.apk -- *.apk
abuild-sign $tmpindex && mv $tmpindex APKINDEX.tar.gz abuild-sign $tmpindex && mv $tmpindex APKINDEX.tar.gz
chmod 644 APKINDEX.tar.gz chmod 644 APKINDEX.tar.gz
rm -f tmp.* rm -f tmp.*
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment