Messages in this thread Patch in this message | | | Date | Mon, 04 Aug 2003 19:23:27 -0400 | From | Josef Jeff Sipek <> | 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/
| |