summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2007-09-06 19:23:25 +0000
committerjoerg <joerg@pkgsrc.org>2007-09-06 19:23:25 +0000
commit181bacec05ba3e797b6307356414059a4a3bfa98 (patch)
treefca7126da3525139a465c458d9f37dbe32498b33 /bootstrap
parent86ec3742a6daf24d5686ed679f981a779c9e6e8f (diff)
downloadpkgsrc-181bacec05ba3e797b6307356414059a4a3bfa98.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