don't destroy patch on failure to unpack/prepare #5

Merged
ptrcnull merged 1 commit from :no-fail into master 2022-05-22 17:44:42 +00:00
Showing only changes of commit 662ed43b24 - Show all commits

2
apatch
View file

@ -11,7 +11,7 @@ startdir="$PWD"
[ -f APKBUILD ] || ( echo "please run this in a package directory"; exit 1 ) [ -f APKBUILD ] || ( echo "please run this in a package directory"; exit 1 )
[ "$1" != "" ] || ( echo "usage: apatch <patch name>"; exit 1 ) [ "$1" != "" ] || ( echo "usage: apatch <patch name>"; exit 1 )
abuild clean fetch unpack prepare abuild clean fetch unpack prepare || exit 1
# obtain builddir # obtain builddir
. APKBUILD . APKBUILD