diff --git a/scripts/Build-Pkg b/scripts/Build-Pkg index c2d6f3873..13af6c9c7 100755 --- a/scripts/Build-Pkg +++ b/scripts/Build-Pkg @@ -187,10 +187,10 @@ if [ "$chroot" = 1 ] ; then cat <<- EOT > $builddir/R_umount.sh umount proc R.orig/download R.orig R.build EOT - cat <<- 'EOT' > $builddir/debug.sh + cat <<- EOT > $builddir/debug.sh sh R_mount.sh chroot . bin/bash -c 'cd R.src ; exec ./debug.sh' - [ -z "`fuser R.src/build.pid`" ] && sh R_umount.sh + [ -z "\`fuser R.src/build.pid\`" ] && sh R_umount.sh EOT chmod +x $builddir/debug.sh