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
This commit is contained in:
parent
c1e0d607d2
commit
f2a863a630
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user