patch-2.3.34 linux/scripts/ver_linux

Next file: linux/CREDITS
Previous file: linux/net/unix/sysctl_net_unix.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.33/linux/scripts/ver_linux linux/scripts/ver_linux
@@ -27,6 +27,6 @@
 # while console-tools needs 'loadkeys -V'.
 loadkeys -V 2>&1 | awk \
 '(NR==1 && ($2 ~ /console-tools/)) {print "Console-tools         ", $3}'
-expr --v | awk '{print "Sh-utils              ", $NF}'
+expr --v 2>&1 | awk 'NR==1{print "Sh-utils              ", $NF}'
 X=`cat /proc/modules | sed -e "s/ .*$//"`
 echo "Modules Loaded         "$X


FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)