From 786e86c71dadc409e41de22cf693059003e1c074 Mon Sep 17 00:00:00 2001 From: George Boudreau Date: Tue, 12 Sep 2006 21:38:16 +0000 Subject: [PATCH] temporary workaround for sudo version check. Current test will fail when there is [:alpha:] in version number --- jhalfs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jhalfs b/jhalfs index 94a2bc0..a3b583d 100755 --- a/jhalfs +++ b/jhalfs @@ -252,7 +252,7 @@ check_version "1.15.0" "${tarVer}" "TAR" 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