From bfc8e373234cf0f1b4242eabc71e34b4d087d635 Mon Sep 17 00:00:00 2001 From: Natanael Copa <ncopa@alpinelinux.org> Date: Tue, 1 Nov 2011 08:45:19 +0000 Subject: [PATCH] buildrepo: don't break if there are -*.apk files in dir apk takes files that starts with - as params. --- buildrepo.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildrepo.in b/buildrepo.in index 79954da2a85d..23c338dd765f 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.* -- GitLab