summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2005-01-25 08:47:55 +0000
committergrant <grant@pkgsrc.org>2005-01-25 08:47:55 +0000
commit857b601b7b5909bdb4cc19f9fc36b436817a234e (patch)
treeb61fc3cf6459a1e0f7450e336e79fba6fc76c5da
parentf55888ad1b0716ef375067d6af97800c11637a89 (diff)
downloadpkgsrc-857b601b7b5909bdb4cc19f9fc36b436817a234e.tar.gz
only try to run the build if "cd /usr/pkgsrc" is successful.
-rw-r--r--mk/bulk/do-sandbox-build4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/bulk/do-sandbox-build b/mk/bulk/do-sandbox-build
index 48f70620441..d9d9934c466 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.8 2005/01/10 20:00:30 hubertf Exp $
+# $NetBSD: do-sandbox-build,v 1.9 2005/01/25 08:47:55 grant Exp $
#
# Script to start a sandbox build
@@ -8,4 +8,4 @@
#
sh=`which sh`
-chroot /usr/sandbox $sh -c "cd /usr/pkgsrc/ ; $sh mk/bulk/build $@"
+chroot /usr/sandbox $sh -c "cd /usr/pkgsrc && $sh mk/bulk/build $@"