Skip to content

build.sh: write log and build script to /package/$PREFIX #70

Merged
merged 1 commit into from
Jun 28, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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