r2750 - jhalfs/trunk

georgeb at linuxfromscratch.org georgeb at linuxfromscratch.org
Fri Jun 2 19:25:03 PDT 2006


Author: georgeb
Date: 2006-06-02 20:25:02 -0600 (Fri, 02 Jun 2006)
New Revision: 2750

Modified:
   jhalfs/trunk/master.sh
Log:
change extraction of tar version number, latest version is verbose

Modified: jhalfs/trunk/master.sh
===================================================================
--- jhalfs/trunk/master.sh	2006-06-02 23:00:10 UTC (rev 2749)
+++ jhalfs/trunk/master.sh	2006-06-03 02:25:02 UTC (rev 2750)
@@ -415,8 +415,8 @@
 check_version "2.6.2" "`uname -r`"         "KERNEL"
 check_version "3.0"   "$BASH_VERSION"      "BASH"
 check_version "3.0"   "`gcc -dumpversion`" "GCC"
-tarVer=`tar --version`
-check_version "1.15.0" "${tarVer##* }"      "TAR"
+tarVer=`tar --version | head -n1 | cut -d " " -f4`
+check_version "1.15.0" "${tarVer}"      "TAR"
 echo "${SD_BORDER}${nl_}"
 
 validate_config




More information about the alfs-log mailing list