r3109 - jhalfs/branches/experimental

georgeb at linuxfromscratch.org georgeb at linuxfromscratch.org
Tue Sep 12 14:38:16 PDT 2006


Author: georgeb
Date: 2006-09-12 15:38:16 -0600 (Tue, 12 Sep 2006)
New Revision: 3109

Modified:
   jhalfs/branches/experimental/jhalfs
Log:
temporary workaround for sudo version check. Current test will fail when there is [:alpha:] in version number

Modified: jhalfs/branches/experimental/jhalfs
===================================================================
--- jhalfs/branches/experimental/jhalfs	2006-09-12 21:32:03 UTC (rev 3108)
+++ jhalfs/branches/experimental/jhalfs	2006-09-12 21:38:16 UTC (rev 3109)
@@ -252,7 +252,7 @@
 SUDO_LOC="`whereis -b sudo | cut -d " " -f2`"
 if [ -x $SUDO_LOC ]; then
   sudoVer=`sudo -V | head -n1 | cut -d " " -f3`
-  echo "SUDO    ${L_arrow}${BOLD}${sudoVer}${R_arrow}${OFF} ..OK"
+  check_version "1.6.8"  "${sudoVer}"      "SUDO"
 else
   echo "${nl_}\"${RED}sudo${OFF}\" ${BOLD}must be installed on your system for jhalfs to run"
   exit 1




More information about the alfs-log mailing list