mirror of
https://gitlab.alpinelinux.org/alpine/abuild.git
synced 2025-01-18 13:30:43 +00:00
buildrepo: don't break if there are -*.apk files in dir
apk takes files that starts with - as params.
This commit is contained in:
parent
369e9d6980
commit
bfc8e37323
@ -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.*
|
||||||
|
Loading…
Reference in New Issue
Block a user