diff options
author | grant <grant@pkgsrc.org> | 2005-01-16 02:56:24 +0000 |
---|---|---|
committer | grant <grant@pkgsrc.org> | 2005-01-16 02:56:24 +0000 |
commit | 19152d5917bc443a47a8569653a9f18bf383c8f3 (patch) | |
tree | 1299a0ec6805a5a74718748ad7fc03b8c17a3c5e /bootstrap | |
parent | 94f70e266d634abbb83541e7fcd0e985e88b13cb (diff) | |
download | pkgsrc-19152d5917bc443a47a8569653a9f18bf383c8f3.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-x | bootstrap/bootstrap | 4 |
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 |