checkapk: run apk fetch in quiet mode to workaround bug in apk fetch

apk fetch --stdout will mix the progress bar with data output. We work
around this by run it in quiet mode.
This commit is contained in:
Natanael Copa 2014-01-23 07:25:54 +00:00
parent 9cb1ad3cff
commit 9f23ed5409

View File

@ -71,7 +71,7 @@ for i in $pkgname $subpackages; do
die "the built package ($_pkgname) is already in the repo"
fi
apk fetch --repositories-file $tmpdir/repositories --stdout $_pkgname \
apk fetch --quiet --repositories-file $tmpdir/repositories --stdout $_pkgname \
| tar -zt | grep -v '^\.SIGN\.' | sort > filelist-$_pkgname-old \
|| die "failed to download old pkg, maybe run 'apk update'?"