summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorgrant <grant>2005-01-16 02:56:24 +0000
committergrant <grant>2005-01-16 02:56:24 +0000
commit773bcc70cda5cb28a1400e5dc9a58fc2461a55e6 (patch)
tree1299a0ec6805a5a74718748ad7fc03b8c17a3c5e /bootstrap
parent9d04e4980c94c2052340a166643a21dfe1e5320f (diff)
downloadpkgsrc-773bcc70cda5cb28a1400e5dc9a58fc2461a55e6.tar.gz
append, not prepend, /usr/ccs/bin to the $PATH (where it exists).
Solaris is happy with it being tacked onto the end, and it unbreaks the build on HP-UX with the native compiler. from Andrey Zakharchenko.
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap/bootstrap4
1 files changed, 2 insertions, 2 deletions
diff --git a/bootstrap/bootstrap b/bootstrap/bootstrap
index 2e577ef5c32..99d38cbf22a 100755
--- a/bootstrap/bootstrap
+++ b/bootstrap/bootstrap
@@ -1,6 +1,6 @@
#! /bin/sh
-# $NetBSD: bootstrap,v 1.27 2005/01/12 16:42:13 jschauma Exp $
+# $NetBSD: bootstrap,v 1.28 2005/01/16 02:56:24 grant Exp $
#
#
# Copyright (c) 2001-2002 Alistair G. Crooks. All rights reserved.
@@ -469,7 +469,7 @@ fi
# export the proper environment
PATH=$prefix/bin:$prefix/sbin:${PATH}; export PATH
if [ -d /usr/ccs/bin -a -x /usr/ccs/bin/make ]; then
- PATH=/usr/ccs/bin:$PATH; export PATH
+ PATH=${PATH}:/usr/ccs/bin; export PATH
fi
PKG_DBDIR=$pkgdbdir; export PKG_DBDIR
LOCALBASE=$prefix; export LOCALBASE