Changeset 3517

Show
Ignore:
Timestamp:
10/06/08 15:13:41 (2 months ago)
Author:
georgeb
Message:

Deal with Ubuntu binutils version report.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • jhalfs/trunk/common/libs/func_check_version.sh

    r3513 r3517  
    8989  libcVer="${libcVer##*version }" 
    9090  check_version "2.2.5"   ${libcVer%%,*}        "GLIBC" 
    91   check_version "2.12"    "$(ld --version  | head -n1 | cut -d" " -f4)"        "BINUTILS" 
     91  check_version "2.12"    "$(ld --version  | head -n1 | awk '{print $NF}')"    "BINUTILS" 
    9292  check_version "1.15"    "$(tar --version | head -n1 | cut -d" " -f4)"        "TAR" 
    9393  bzip2Ver="$(bzip2 --version 2>&1 < /dev/null | head -n1 | cut -d" " -f8)"