summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pkg_install
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2005-03-19 19:20:19 +0000
committermarcus <marcus@FreeBSD.org>2005-03-19 19:20:19 +0000
commit9811c5568e8040e0da775b67cc461c212a6a1940 (patch)
treedcbb7192d9169dbe68055438ac2aa613cf74099b /usr.sbin/pkg_install
parenta9ea850407328f4cc12512aef419d39274eb4c13 (diff)
downloadFreeBSD-src-9811c5568e8040e0da775b67cc461c212a6a1940.zip
FreeBSD-src-9811c5568e8040e0da775b67cc461c212a6a1940.tar.gz
Change the PATH for pkg_add to be the same used for pointyhat package builds.
This will give our users and porters a more consistent experience between installing ports and installing packages. Discussed with: portmgr
Diffstat (limited to 'usr.sbin/pkg_install')
-rw-r--r--usr.sbin/pkg_install/add/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/pkg_install/add/main.c b/usr.sbin/pkg_install/add/main.c
index 41ecd2b..4fb4c94 100644
--- a/usr.sbin/pkg_install/add/main.c
+++ b/usr.sbin/pkg_install/add/main.c
@@ -239,7 +239,7 @@ main(int argc, char **argv)
}
/* Make sure the sub-execs we invoke get found */
setenv("PATH",
- "/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin",
+ "/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin",
1);
/* Set a reasonable umask */
OpenPOWER on IntegriCloud