public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [2.6 patch] adapt scripts/ver_linux to new util-linux version strings
@ 2005-08-20  3:58 Adrian Bunk
  2005-08-20  5:55 ` Alexey Dobriyan
  0 siblings, 1 reply; 5+ messages in thread
From: Adrian Bunk @ 2005-08-20  3:58 UTC (permalink / raw)
  To: linux-kernel

Signed-off-by: Adrian Bunk <bunk@stusta.de>

--- linux-2.6.13-rc6-mm1-full/scripts/ver_linux.old	2005-08-20 05:54:50.000000000 +0200
+++ linux-2.6.13-rc6-mm1-full/scripts/ver_linux	2005-08-20 05:55:36.000000000 +0200
@@ -25,9 +25,11 @@
 '/BFD/{print "binutils              ",$NF} \
 /^GNU/{print "binutils              ",$4}'
 
-fdformat --version | awk -F\- '{print "util-linux            ", $NF}'
+fdformat --version | awk '{print "util-linux            ", $NF}' \
+| awk -F\) '{print $1}'
 
-mount --version | awk -F\- '{print "mount                 ", $NF}'
+mount --version | awk '{print "mount                 ", $NF}' | \
+awk -F\) '{print $1}'
 
 depmod -V  2>&1 | awk 'NR==1 {print "module-init-tools     ",$NF}'
 


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-08-21 15:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-20  3:58 [2.6 patch] adapt scripts/ver_linux to new util-linux version strings Adrian Bunk
2005-08-20  5:55 ` Alexey Dobriyan
2005-08-20 19:02   ` Adrian Bunk
2005-08-21  9:26     ` [PATCH] Adapt " Alexey Dobriyan
2005-08-21 15:29       ` Adrian Bunk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox