pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk/bulk ensure we call chroot with the full path to 'sh'.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b8782a3135af
branches:  trunk
changeset: 466305:b8782a3135af
user:      grant <grant%pkgsrc.org@localhost>
date:      Thu Jan 15 10:02:54 2004 +0000

description:
ensure we call chroot with the full path to 'sh'.

diffstat:

 mk/bulk/do-sandbox-build |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (17 lines):

diff -r df8d5406f520 -r b8782a3135af mk/bulk/do-sandbox-build
--- a/mk/bulk/do-sandbox-build  Thu Jan 15 09:59:29 2004 +0000
+++ b/mk/bulk/do-sandbox-build  Thu Jan 15 10:02:54 2004 +0000
@@ -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 $@"



Home | Main Index | Thread Index | Old Index