Changeset 2c04c28 for common


Ignore:
Timestamp:
11/04/2008 02:46:27 AM (16 years ago)
Author:
George Boudreau <georgeb@…>
Branches:
2.3, 2.4, ablfs, ablfs-more, legacy, new_features, trunk
Children:
0850553
Parents:
bcfb3bf
Message:

Adjust M4 version check to deal with (GNU M4) in version string

File:
1 edited

Legend:

Unmodified
Added
Removed
  • common/libs/func_check_version.sh

    rbcfb3bf r2c04c28  
    100100  check_version "2.5"     "$(grep --version  | head -n1 | awk '{print $NF}')"  "GREP"
    101101  check_version "1.2.4"   "$(gzip --version 2>&1 | head -n1 | cut -d" " -f2)"  "GZIP"
    102   check_version "1.4"     "$(m4 --version 2>&1 | head -n1 | cut -d" " -f3)"    "M4"
     102  check_version "1.4"     "$(m4 --version 2>&1 | head -n1 | awk '{print $NF}')" "M4"
    103103  check_version "3.79.1"  "$(make --version  | head -n1 | cut -d " " -f3 | cut -c1-4)"  "MAKE"
    104104  check_version "2.5.4"   "$(patch --version | head -n1 | cut -d" " -f2)"      "PATCH"
Note: See TracChangeset for help on using the changeset viewer.