summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorjoerg <joerg>2007-09-06 19:23:25 +0000
committerjoerg <joerg>2007-09-06 19:23:25 +0000
commit0d01094983606668fa5f46ee6c643a362ed205b8 (patch)
treefca7126da3525139a465c458d9f37dbe32498b33 /bootstrap
parent4a1f2da85d4d066699e870048cf41eaa0eef0599 (diff)
downloadpkgsrc-0d01094983606668fa5f46ee6c643a362ed205b8.tar.gz
Try to force a proper shell on Solaris by extending bmake to
expect full path names. Use the default locations in /bin unless overriden explicitly. Bump revision of bmake. On Solaris, use /usr/xpg4/bin/sh if it exists.
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap/bootstrap5
1 files changed, 4 insertions, 1 deletions
diff --git a/bootstrap/bootstrap b/bootstrap/bootstrap
index 72f34813ed7..691db209ec4 100755
--- a/bootstrap/bootstrap
+++ b/bootstrap/bootstrap
@@ -1,6 +1,6 @@
#! /bin/sh
-# $NetBSD: bootstrap,v 1.108 2007/08/18 11:01:28 schwarz Exp $
+# $NetBSD: bootstrap,v 1.109 2007/09/06 19:23:25 joerg Exp $
#
#
# Copyright (c) 2001-2002 Alistair G. Crooks. All rights reserved.
@@ -468,6 +468,9 @@ SunOS)
if [ -d "/usr/xpg4/bin" ]; then
overpath="/usr/xpg4/bin:$overpath"
fi
+ if [ -x "/usr/xpg4/bin" ]; then
+ bmakexargs="$bmakexargs --with-defshell=/usr/xpg4/bin/sh"
+ fi
root_group=root
need_pax=yes
need_bsd_install=no