r3159 - jhalfs/trunk/common

manuel at linuxfromscratch.org manuel at linuxfromscratch.org
Fri Oct 6 10:56:26 PDT 2006


Author: manuel
Date: 2006-10-06 11:56:26 -0600 (Fri, 06 Oct 2006)
New Revision: 3159

Modified:
   jhalfs/trunk/common/func_check_version.sh
Log:
Hacked Make version check to allow using Make-3.81beta4 that is shiped in Kubuntu.

Modified: jhalfs/trunk/common/func_check_version.sh
===================================================================
--- jhalfs/trunk/common/func_check_version.sh	2006-10-05 20:25:52 UTC (rev 3158)
+++ jhalfs/trunk/common/func_check_version.sh	2006-10-06 17:56:26 UTC (rev 3159)
@@ -83,7 +83,7 @@
     check_version "3.0"      "$(gawk --version  | head -n1 | cut -d" " -f3)"     "GAWK"
     check_version "2.5"      "$(grep --version  | head -n1 | cut -d" " -f4)"     "GREP"
     check_version "1.2.4"    "$(gzip --version 2>&1 | head -n1 | cut -d" " -f2)" "GZIP"
-    check_version "3.79.1"   "$(make --version  | head -n1 | cut -d " " -f3)"    "MAKE"
+    check_version "3.79.1"   "$(make --version  | head -n1 | cut -d " " -f3 | cut -c1-4)"    "MAKE"
     check_version "2.5.4"    "$(patch --version | head -n1 | cut -d" " -f2)"     "PATCH"
     check_version "3.0.2"    "$(sed --version   | head -n1 | cut -d" " -f4)"     "SED"
   else




More information about the alfs-log mailing list