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

svn at pcbsd.org svn at pcbsd.org
Wed Oct 5 04:29:38 PDT 2011


Author: kris
Date: 2011-10-05 04:29:38 -0700 (Wed, 05 Oct 2011)
New Revision: 13132

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

Make sure we can stat files with spaces in the name



Modified: pcbsd/current/src-sh/pbi-manager/pbi-manager
===================================================================
--- pcbsd/current/src-sh/pbi-manager/pbi-manager	2011-10-05 09:06:47 UTC (rev 13131)
+++ pcbsd/current/src-sh/pbi-manager/pbi-manager	2011-10-05 11:29:38 UTC (rev 13132)
@@ -6217,7 +6217,7 @@
 
 # Get the hard-link counter for the specified file
 get_hard_link_count() {
-	HLINKS=`stat -f %l ${1}`
+	HLINKS=`stat -f %l "${1}"`
 }
 
 # Cleanup after caught exit



More information about the Commits mailing list