浏览代码

More tweaks to version-check.sh

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8521 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Bruce Dubbs 17 年之前
父节点
当前提交
3f8f0edef3
共有 1 个文件被更改,包括 5 次插入3 次删除
  1. 5 3
      prologue/hostreqs.xml

+ 5 - 3
prologue/hostreqs.xml

@@ -137,16 +137,18 @@ export LC_ALL=C
 # Simple script to list version numbers of critical development tools
 
 bash --version | head -n1 | cut -d" " -f2-4
-ls -l `which sh`
+echo "/bin/sh -> `readlink -f /bin/sh`"
 echo -n "Binutils: "; ld --version | head -n1 | cut -d" " -f3-
 bison --version | head -n1
-f [ -e /usr/bin/yacc ]; then ls -l /usr/bin/yacc; else echo "yacc not found"; fi
+if [ -e /usr/bin/yacc ]; then echo "/usr/bin/yacc -> `readlink -f /usr/bin/yacc`"; 
+  else echo "yacc not found"; fi
 bzip2 --version 2>&1 < /dev/null | head -n1 | cut -d" " -f1,6-
 echo -n "Coreutils: "; chown --version | head -n1 | cut -d")" -f2
 diff --version | head -n1
 find --version | head -n1
 gawk --version | head -n1
-if [ -e /usr/bin/awk ]; then ls -l /usr/bin/awk; else echo "awk not found"; fi
+if [ -e /usr/bin/awk ]; then echo "/usr/bin/awk -> `readlink -f /usr/bin/awk`"; 
+  else echo "awk not found"; fi
 gcc --version | head -n1
 /lib/libc.so.6 | head -n1 | cut -d" " -f1-7
 grep --version | head -n1