]> git.hungrycats.org Git - linux/commitdiff
[PATCH] fix ver_linux for 2.6
authorAlan Cox <alan@lxorguk.ukuu.org.uk>
Fri, 18 Jul 2003 02:46:45 +0000 (19:46 -0700)
committerLinus Torvalds <torvalds@home.osdl.org>
Fri, 18 Jul 2003 02:46:45 +0000 (19:46 -0700)
(Steven Cole)

scripts/ver_linux

index 26f3084e7db3d24f477d46e685ef64873b4ee778..0bc7fa3e484357aed489227e3f8872fac5ae6f48 100644 (file)
@@ -54,11 +54,14 @@ pppd --version 2>&1| grep version | awk \
 isdnctrl 2>&1 | grep version | awk \
 'NR==1{print "isdn4k-utils          ", $NF}'
 
+showmount --version 2>&1 | grep nfs-utils | awk \
+'NR==1{print "nfs-utils             ", $NF}'
+
 ls -l `ldd /bin/sh | awk '/libc/{print $3}'` | sed \
 -e 's/\.so$//' | awk -F'[.-]'   '{print "Linux C Library        " \
 $(NF-2)"."$(NF-1)"."$NF}'
 
-ldd -v > /dev/null 2>&1 && ldd -v || ldd --version |head -1 | awk \
+ldd -v > /dev/null 2>&1 && ldd -v || ldd --version |head -n 1 | awk \
 'NR==1{print "Dynamic linker (ldd)  ", $NF}'
 
 ls -l /usr/lib/lib{g,stdc}++.so  2>/dev/null | awk -F. \