lkml.org 
[lkml]   [2003]   [Aug]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH][TRIVIAL][2.6] Bugzilla bug # 267 - ver_linux script fails to give module-init-tools version
This patch fixes the scripts/ver_linux script, which did not report any version for module-init-tools
when using module-init-tools. If modutils were used, it printed out the version. In both cases, the
effect was not wanted. (If modutils are used, nothing should be printed out.)

Josef "Jeff" Sipek

--- linux-2.6.0-test2-vanilla/scripts/ver_linux 2003-07-27 13:04:06.000000000 -0400
+++ linux-2.6.0-test2-used/scripts/ver_linux 2003-08-04 19:09:51.000000000 -0400
@@ -28,7 +28,7 @@

mount --version | awk -F\- '{print "mount ", $NF}'

-depmod -V 2>&1 | grep version | awk 'NR==1 {print "module-init-tools ",$NF}'
+depmod -V 2>&1 | grep "module-init-tools" | awk 'NR==1 {print "module-init-tools ",$NF}'

tune2fs 2>&1 | grep "^tune2fs" | sed 's/,//' | awk \
'NR==1 {print "e2fsprogs ", $2}'
-
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/

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