mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Josef Jeff Sipek <jeffpc@optonline.net>
To: Linus Torvalds <torvalds@osdl.org>,
	Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: [PATCH][TRIVIAL][2.6] Bugzilla bug # 267 - ver_linux script fails to give module-init-tools version
Date: Mon, 04 Aug 2003 19:23:27 -0400	[thread overview]
Message-ID: <200308041923.27329.jeffpc@optonline.net> (raw)

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}'


                 reply	other threads:[~2003-08-04 23:23 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200308041923.27329.jeffpc@optonline.net \
    --to=jeffpc@optonline.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@osdl.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®