From 662ed43b2457668487fc71f27eb6231fb030f9e8 Mon Sep 17 00:00:00 2001 From: psykose Date: Sun, 22 May 2022 16:44:16 +0000 Subject: [PATCH] don't destroy patch on failure to unpack/prepare --- apatch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apatch b/apatch index 6474af3..ff60a54 100755 --- a/apatch +++ b/apatch @@ -11,7 +11,7 @@ startdir="$PWD" [ -f APKBUILD ] || ( echo "please run this in a package directory"; exit 1 ) [ "$1" != "" ] || ( echo "usage: apatch "; exit 1 ) -abuild clean fetch unpack prepare +abuild clean fetch unpack prepare || exit 1 # obtain builddir . APKBUILD