[PC-BSD Commits] r7827 - pcbsd-projects/warden/scripts/backend

svn at pcbsd.org svn at pcbsd.org
Thu Oct 14 12:27:45 PDT 2010


Author: kris
Date: 2010-10-14 12:27:45 -0700 (Thu, 14 Oct 2010)
New Revision: 7827

Modified:
   pcbsd-projects/warden/scripts/backend/mkinmate.sh
Log:

Fixed stray bash-ism in warden mkinmate script



Modified: pcbsd-projects/warden/scripts/backend/mkinmate.sh
===================================================================
--- pcbsd-projects/warden/scripts/backend/mkinmate.sh	2010-10-14 18:14:47 UTC (rev 7826)
+++ pcbsd-projects/warden/scripts/backend/mkinmate.sh	2010-10-14 19:27:45 UTC (rev 7827)
@@ -24,7 +24,8 @@
   exit 5
 fi
 
-if [ "${IDIR:0:1}" != "/" ]
+chk=`echo "${IFILE}" | cut -c 1-1`
+if [ "${chk}" != "/" ]
 then
   IDIR="${PWD}/${IDIR}"
 fi



More information about the Commits mailing list