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
commit5961340ecea051dec8995b6d57972ba141eea98d (patch)
treefca7126da3525139a465c458d9f37dbe32498b33 /bootstrap
parentd807296e95d3edff0071c770e1473c7506d74441 (diff)
downloadpkgsrc-5961340ecea051dec8995b6d57972ba141eea98d.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