summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2005-01-16 02:56:24 +0000
committergrant <grant@pkgsrc.org>2005-01-16 02:56:24 +0000
commit20b97d46a18d8d7e80586170aba1cf420af54d74 (patch)
tree1299a0ec6805a5a74718748ad7fc03b8c17a3c5e /bootstrap
parenta6a2ba8083e2b693d4b79b8487d51f16ad6435a4 (diff)
downloadpkgsrc-20b97d46a18d8d7e80586170aba1cf420af54d74.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