Changeset 8520

Show
Ignore:
Timestamp:
04/11/08 14:08:03 (8 months ago)
Author:
bdubbs
Message:

Tweak version-check.sh script

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/BOOK/prologue/hostreqs.xml

    r8519 r8520  
    141141echo -n "Binutils: "; ld --version | head -n1 | cut -d" " -f3- 
    142142bison --version | head -n1 
    143 ls -l `which yacc` 
     143f [ -e /usr/bin/yacc ]; then ls -l /usr/bin/yacc; else echo "yacc not found"; fi 
    144144bzip2 --version 2>&1 < /dev/null | head -n1 | cut -d" " -f1,6- 
    145145echo -n "Coreutils: "; chown --version | head -n1 | cut -d")" -f2 
     
    147147find --version | head -n1 
    148148gawk --version | head -n1 
    149 ls -l `which awk` 
     149if [ -e /usr/bin/awk ]; then ls -l /usr/bin/awk; else echo "awk not found"; fi 
    150150gcc --version | head -n1 
    151151/lib/libc.so.6 | head -n1 | cut -d" " -f1-7