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

svn at pcbsd.org svn at pcbsd.org
Wed Aug 1 11:17:46 PDT 2012


Author: kris
Date: 2012-08-01 18:17:46 +0000 (Wed, 01 Aug 2012)
New Revision: 18075

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

Fix how we detect if tmpfs is to be used



Modified: pcbsd/current/src-sh/pbi-manager/pbi-manager
===================================================================
--- pcbsd/current/src-sh/pbi-manager/pbi-manager	2012-08-01 18:11:55 UTC (rev 18074)
+++ pcbsd/current/src-sh/pbi-manager/pbi-manager	2012-08-01 18:17:46 UTC (rev 18075)
@@ -5610,8 +5610,10 @@
 	fi
 
 	# Check if we need to enable tmpfs
- 	if [ "$PBI_AB_TMPFS" = "YES" -a -z "$PBI_AB_NOTMPFS" ] ; then
-		_flags="${_flags} --tmpfs"
+ 	if [ "$PBI_AB_TMPFS" = "YES" ] ; then
+		if [ -z "${PBI_AB_NOTMPFS}" -o "$PBI_AB_NOTMPFS" != "YES" ] ; then
+		   	_flags="${_flags} --tmpfs"
+		fi
 	fi
 
 	# Check if we need to enable pkgcaching



More information about the Commits mailing list