[2.6 patch] adapt scripts/ver_linux to new util-linux version strings
From: Adrian Bunk
Date: Fri Aug 19 2005 - 22:59:59 EST
Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>
--- 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}'
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/