PATCH: fix ver_linux for 2.6

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Fri Jul 18 2003 - 09:27:22 EST


(Steven Cole)
diff -u --new-file --recursive --exclude-from /usr/src/exclude linux-2.6.0-test1/scripts/ver_linux linux-2.6.0-test1-ac2/scripts/ver_linux
--- linux-2.6.0-test1/scripts/ver_linux 2003-07-10 21:11:36.000000000 +0100
+++ linux-2.6.0-test1-ac2/scripts/ver_linux 2003-07-16 18:40:03.000000000 +0100
@@ -54,11 +54,14 @@
 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. \
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Jul 23 2003 - 22:00:34 EST