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:
marcus 2005-03-19 19:20:19 +00:00
parent c1e0d607d2
commit f2a863a630

View File

@ -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 */