From 8ca17231289be60fdb5f14b28f126a6b204a075c Mon Sep 17 00:00:00 2001 From: Peter Marquardt Date: Fri, 28 Jun 2019 11:19:31 +0200 Subject: [PATCH] build.sh: write log and build script to /package/$PREFIX - write script-logfile to build destination because of permission issues - unhide build script --- tools/build.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/build.sh b/tools/build.sh index 45bde10..fea1848 100755 --- a/tools/build.sh +++ b/tools/build.sh @@ -63,8 +63,9 @@ chmod a+rx "$PKG.build.sh" echo "sudo -u build script -q -c \"./$PKG.build.sh\" $PKG.build.log" ( - sudo -u build script -q -c "./$PKG.build.sh" $PKG.build.log - sudo -u build cp "$PKG.build.sh" "/package/pkg/$PKG/.$PKG.build.sh" + pwd + sudo -u build script -q -c "./$PKG.build.sh" /package/pkg/$PKG/$PKG.build.log + sudo -u build cp "$PKG.build.sh" "/package/pkg/$PKG/$PKG.build.sh" ) # make double sure PKG is not empty even if bugs are introduced in code above