diff --git a/scripts/Build-Pkg b/scripts/Build-Pkg index b129121b7..6e2f0b9ad 100755 --- a/scripts/Build-Pkg +++ b/scripts/Build-Pkg @@ -181,6 +181,11 @@ if [ "$chroot" = 1 ] ; then if [ ! -e ROCK/$x ]; then ln -s "loop/$x" "ROCK/$x"; fi done + if [ ! -e "ROCK/build/$ROCKCFG_ID" ]; then + mkdir -p "ROCK/build" + ln -snf ../.. "ROCK/build/$ROCKCFG_ID" + fi + mkdir -p "ROCK/src.$pkg.$id" ln -s "$PWD/ROCK/src.$pkg.$id" "$builddir"