summaryrefslogtreecommitdiff
path: root/buildrepo.in
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-11-01 08:45:19 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-11-01 08:45:19 +0000
commitbfc8e373234cf0f1b4242eabc71e34b4d087d635 (patch)
treede9017de92c968be0ff0e765c4a085965d3d7a6c /buildrepo.in
parent369e9d6980949065885609f69a3b1024077369a6 (diff)
downloadabuild-bfc8e373234cf0f1b4242eabc71e34b4d087d635.tar.gz
abuild-bfc8e373234cf0f1b4242eabc71e34b4d087d635.tar.bz2
abuild-bfc8e373234cf0f1b4242eabc71e34b4d087d635.tar.xz
abuild-bfc8e373234cf0f1b4242eabc71e34b4d087d635.zip
buildrepo: don't break if there are -*.apk files in dir
apk takes files that starts with - as params.
Diffstat (limited to 'buildrepo.in')
-rwxr-xr-xbuildrepo.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildrepo.in b/buildrepo.in
index 79954da..23c338d 100755
--- a/buildrepo.in
+++ b/buildrepo.in
@@ -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.*