diff options
author | grant <grant@pkgsrc.org> | 2004-01-15 10:02:54 +0000 |
---|---|---|
committer | grant <grant@pkgsrc.org> | 2004-01-15 10:02:54 +0000 |
commit | ddee1e898ae49f723a67fa8e5d76d35e7ac0d4e2 (patch) | |
tree | ceb94e3a2d8ce4a4bb70d79e4cc3c114427494d1 /mk | |
parent | d11cb32af336a2ca2e9dc64c647dff160e7f7979 (diff) | |
download | pkgsrc-ddee1e898ae49f723a67fa8e5d76d35e7ac0d4e2.tar.gz |
ensure we call chroot with the full path to 'sh'.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/bulk/do-sandbox-build | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mk/bulk/do-sandbox-build b/mk/bulk/do-sandbox-build index e9adb5f1362..dfedb711583 100644 --- a/mk/bulk/do-sandbox-build +++ b/mk/bulk/do-sandbox-build @@ -1,5 +1,5 @@ #!/bin/sh -# $NetBSD: do-sandbox-build,v 1.6 2002/03/16 10:00:17 hubertf Exp $ +# $NetBSD: do-sandbox-build,v 1.7 2004/01/15 10:02:54 grant Exp $ # # Script to start a sandbox build @@ -7,4 +7,5 @@ # See pkgsrc/Packages.txt for documentation! # -chroot /usr/sandbox sh -c "cd /usr/cvs.local/pkgsrc/ ; sh mk/bulk/build $@" +sh=`which sh` +chroot /usr/sandbox $sh -c "cd /usr/cvs.local/pkgsrc/ ; $sh mk/bulk/build $@" |