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