Skip to content

Commit

Permalink
Merge pull request #70 from mariux64/fix-build-log
Browse files Browse the repository at this point in the history
build.sh: write log and build script to /package/$PREFIX
  • Loading branch information
wwwutz authored Jun 28, 2019
2 parents c02c288 + 8ca1723 commit 4a6e11f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tools/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4a6e11f

Please sign in to comment.