[PC-BSD Commits] r8095 - pcbsd/current/src-sh/pbi-manager

svn at pcbsd.org svn at pcbsd.org
Tue Nov 30 10:24:17 PST 2010


Author: kris
Date: 2010-11-30 10:24:17 -0800 (Tue, 30 Nov 2010)
New Revision: 8095

Modified:
   pcbsd/current/src-sh/pbi-manager/pbi-manager
Log:

Make sure we prime ldconfig and set the PATH properly in chroot environment



Modified: pcbsd/current/src-sh/pbi-manager/pbi-manager
===================================================================
--- pcbsd/current/src-sh/pbi-manager/pbi-manager	2010-11-30 18:14:48 UTC (rev 8094)
+++ pcbsd/current/src-sh/pbi-manager/pbi-manager	2010-11-30 18:24:17 UTC (rev 8095)
@@ -1293,9 +1293,12 @@
 	mkdir -p /usr/local/pbi
 	ln -s ${PREFIX} /usr/local
 
-	#PATH="/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:${PREFIX}/bin:${PREFIX}/sbin"
-	#export PATH
+	# Make sure ldconfig is primed
+	/etc/rc.d/ldconfig start
 
+	PATH="${PATH}:/usr/local/bin:/usr/local/sbin:${PREFIX}/bin:${PREFIX}/sbin"
+	export PATH
+
 	FORCE_PKG_REGISTER="Y"
 	export FORCE_PKG_REGISTER
 



More information about the Commits mailing list