[PATCH] scripts/ver_linux patch - Bug 267

From: Jeff Sipek (jeffpc@optonline.net)
Date: Thu Jul 17 2003 - 13:16:07 EST


Patch to make scripts/ver_linux work in 2.6.0-test1

http://bugme.osdl.org/show_bug.cgi?id=267

Josef "Jeff" Sipek, aka Jeff.

--- linux-2.6.0-test1-vanilla/scripts/ver_linux 2003-07-13 23:35:16.000000000 -0400
+++ linux-2.6.0-test1-eva/scripts/ver_linux 2003-07-17 03:53:46.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 | awk 'NR==1 {print "module-init-tools ",$NF}'
 
 tune2fs 2>&1 | grep "^tune2fs" | sed 's/,//' | awk \
 'NR==1 {print "e2fsprogs ", $2}'

-- 
Please avoid sending me Word or PowerPoint attachments.
 See http://www.fsf.org/philosophy/no-word-attachments.html 

- 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/



This archive was generated by hypermail 2b29 : Wed Jul 23 2003 - 22:00:30 EST