lkml.org 
[lkml]   [1999]   [Oct]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectPATCH: correcting scripts/ver_linux

The current version of ver_linux displays weird behavior when
it is grabbing the version number of Sh-utils. Here is a
trivial patch:

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
--- linux-2.3.21/scripts/ver_linux~ Sat Sep 4 04:18:10 1999
+++ linux-2.3.21/scripts/ver_linux Sat Oct 16 23:46:50 1999
@@ -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 | awk 'NR==1{print "Sh-utils ", $NF}'
X=`cat /proc/modules | sed -e "s/ .*$//"`
echo "Modules Loaded "$X
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
[]s, Roger...

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Rogerio Brito - rbrito@iname.com - http://www.ime.usp.br/~rbrito/
Nectar homepage: http://www.linux.ime.usp.br/~rbrito/opeth/
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:54    [W:0.017 / U:0.280 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site