aboutsummaryrefslogtreecommitdiffstats
path: root/prologue
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2008-04-11 20:08:03 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2008-04-11 20:08:03 +0000
commitd439604a8b756dcd8d9465eb31ccfc8ac9008c68 (patch)
tree51f9773b1c77dbd30cb069f75fd9d0c599c90a31 /prologue
parent2380f02419785261f37345fee47903f9378db9ea (diff)
Tweak version-check.sh script
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8520 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'prologue')
-rw-r--r--prologue/hostreqs.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/prologue/hostreqs.xml b/prologue/hostreqs.xml
index c08b7328f..ad8c85e2e 100644
--- a/prologue/hostreqs.xml
+++ b/prologue/hostreqs.xml
@@ -140,13 +140,13 @@ bash --version | head -n1 | cut -d" " -f2-4
ls -l `which sh`
echo -n "Binutils: "; ld --version | head -n1 | cut -d" " -f3-
bison --version | head -n1
-ls -l `which yacc`
+f [ -e /usr/bin/yacc ]; then ls -l /usr/bin/yacc; else echo "yacc not found"; fi
bzip2 --version 2&gt;&amp;1 &lt; /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
-ls -l `which awk`
+if [ -e /usr/bin/awk ]; then ls -l /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