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

svn at pcbsd.org svn at pcbsd.org
Fri Mar 2 09:57:00 PST 2012


Author: kris
Date: 2012-03-02 17:57:00 +0000 (Fri, 02 Mar 2012)
New Revision: 15675

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

Let us override PBI_APPDIR as well



Modified: pcbsd/current/src-sh/pbi-manager/pbi-manager
===================================================================
--- pcbsd/current/src-sh/pbi-manager/pbi-manager	2012-03-02 17:50:38 UTC (rev 15674)
+++ pcbsd/current/src-sh/pbi-manager/pbi-manager	2012-03-02 17:57:00 UTC (rev 15675)
@@ -1255,7 +1255,9 @@
 	FBSDMAJOR=`uname -r | cut -c 1`
         PROGBASE="/usr/local" 
 	SYS_LOCALBASE="/usr/local"
-	PBI_APPDIR="/usr/pbi"
+	if [ -z "${PBI_APPDIR}" ] ; then
+	  PBI_APPDIR="/usr/pbi"
+        fi
 	PBI_CHROOTFILE="${PBI_APPDIR}/.pbi-world.tbz"
 	if [ `id -u` = "0" ] ; then 
 		PBI_HASHDIR="${PBI_APPDIR}/.hashdir"



More information about the Commits mailing list