From 3555f8ae878ea38532b24d58266d521fb7f2639c Mon Sep 17 00:00:00 2001 From: thomas Date: Thu, 1 Aug 2019 14:58:38 +0200 Subject: [PATCH] build.sh: Let script cmd return exit code 'script -e' returns the exit code of the child process. This yields again to the intended behaviour (Closes #72). --- tools/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/build.sh b/tools/build.sh index 7c25f9e..da19a04 100755 --- a/tools/build.sh +++ b/tools/build.sh @@ -63,7 +63,7 @@ chmod a+rx "$PKG.build.sh" echo "sudo -u build script -q -c \"./$PKG.build.sh\" /package/pkg/$PKG/$PKG.build.log" ( - sudo -u build script -q -c "./$PKG.build.sh" /package/pkg/$PKG/$PKG.build.log + sudo -u build script -q -e -c "./$PKG.build.sh" /package/pkg/$PKG/$PKG.build.log sudo -u build cp "$PKG.build.sh" "/package/pkg/$PKG/$PKG.build.sh" )