From: Lightweight patch manager <patch@luckynet.dynu.com>
To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Cc: Kernel Build -- Daniel Phillips <phillips@bonn-fries.net>,
Kai Germaschewski <kai@tp1.ruhr-uni-bochum.de>,
Keith Owens <kaos@ocs.com.au>,
Linus Torvalds <torvalds@transmeta.com>
Subject: [PATCH] kbuild-2.5: make drivers/scsi/script_asm.pl hide its directory
Date: Sun, 2 Jun 2002 12:48:30 -0600 (MDT) [thread overview]
Message-ID: <Pine.LNX.4.44.0206021246250.14017-100000@hawkeye.luckynet.adm> (raw)
kbuild-2.5: drivers/scsi/script_asm.pl won't expose its directory any more
in the generated files
This is more or less a beautifying patch, but rather supportive.
diff -Nur kbuild-2.5/drivers/scsi/script_asm.pl kbuild-2.5/drivers/scsi/script_asm.pl
--- kbuild-2.5/drivers/scsi/script_asm.pl Sat Jun 1 16:19:36 2002
+++ kbuild-2.5/drivers/scsi/script_asm.pl Sat Jun 1 16:19:36 2002 +0000 thunder (thunder-2.5/drivers/scsi/script_asm.pl 1.1 0644)
@@ -896,7 +896,8 @@
open (OUTPUT, ">$output") || die "$0 : can't open $output for writing\n";
open (OUTPUTU, ">$outputu") || die "$0 : can't open $outputu for writing\n";
-print OUTPUT "/* DO NOT EDIT - Generated automatically by ".$0." */\n";
+($_ = $0) =~ s:.*/::;
+print OUTPUT "/* DO NOT EDIT - Generated automatically by ".$_." */\n";
print OUTPUT "static u32 ".$prefix."SCRIPT[] = {\n";
$instructions = 0;
for ($i = 0; $i < $#code; ) {
--
Lightweight patch manager using pine. If you have any objections, tell me.
reply other threads:[~2002-06-02 18:48 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=Pine.LNX.4.44.0206021246250.14017-100000@hawkeye.luckynet.adm \
--to=patch@luckynet.dynu.com \
--cc=kai@tp1.ruhr-uni-bochum.de \
--cc=kaos@ocs.com.au \
--cc=linux-kernel@vger.kernel.org \
--cc=phillips@bonn-fries.net \
--cc=torvalds@transmeta.com \
/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;
as well as URLs for NNTP newsgroup(s).