diff options
-rwxr-xr-x | buildrepo.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/buildrepo.in b/buildrepo.in index a37ab8d..dcba9b6 100755 --- a/buildrepo.in +++ b/buildrepo.in @@ -146,7 +146,7 @@ do_build() { local purgefiles cd "$repodir/$repo/$CARCH" || return 1 trap 'rm -f "$tmp"; exit 1' INT - ( listpackages "$1") >$tmp + ( listpackages "$1") >$tmp || return 1 purge=$(ls *.apk 2>/dev/null | grep -v -w -f $tmp) if [ -n "$purge" ]; then rm -f $purge |