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

svn at pcbsd.org svn at pcbsd.org
Tue Nov 30 11:09:15 PST 2010


Author: kris
Date: 2010-11-30 11:09:15 -0800 (Tue, 30 Nov 2010)
New Revision: 8098

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

Fixed bug in pbi-manager, need to make sym-link properly for chroot builds



Modified: pcbsd/current/src-sh/pbi-manager/pbi-manager
===================================================================
--- pcbsd/current/src-sh/pbi-manager/pbi-manager	2010-11-30 19:02:13 UTC (rev 8097)
+++ pcbsd/current/src-sh/pbi-manager/pbi-manager	2010-11-30 19:09:15 UTC (rev 8098)
@@ -1270,8 +1270,6 @@
 		fi
 	fi
 
-	mkdir -p "${PREFIX}"
-
 	local MAKE_CONF="/etc/make.conf"
 
 	echo "PREFIX=${PREFIX}" >> ${MAKE_CONF}
@@ -1291,7 +1289,7 @@
 
 	# Link /usr/local -> PREFIX
 	mkdir -p /usr/local/pbi
-	ln -s ${PREFIX} /usr/local
+	ln -s /usr/local ${PREFIX}
 
 	# Make sure ldconfig is primed
 	/etc/rc.d/ldconfig start



More information about the Commits mailing list