mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Prarit Bhargava <prarit@redhat.com>
To: linux-kernel@vger.kernel.org
Cc: Prarit Bhargava <prarit@redhat.com>, Yang Bai <hamo.by@gmail.com>,
	Stephen Boyd <sboyd@codeaurora.org>,
	Michal Marek <mmarek@suse.cz>
Subject: [PATCH] scripts, Fix 'make cscope'
Date: Sun,  1 Apr 2012 07:31:58 -0400	[thread overview]
Message-ID: <1333279918-29466-1-git-send-email-prarit@redhat.com> (raw)

commit 66979224c0d288331edcadb1e6ebd978d920d476, scripts: refactor remove
 structure forward declarations, breaks 'make cscope' which now gives the
 following error:

[prarit@prarit linux-2.6]$ make cscope
  GEN     cscope
  sed: can't read cscope: No such file or directory
  make: *** [cscope] Error 2

Fix a typo in the commit.

Signed-off-by: Prarit Bhargava <prarit@redhat.com>
Cc: Yang Bai <hamo.by@gmail.com>
Cc: Stephen Boyd <sboyd@codeaurora.org>
Cc: Michal Marek <mmarek@suse.cz>
---
 scripts/tags.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/scripts/tags.sh b/scripts/tags.sh
index 0d6004e..b501e84 100755
--- a/scripts/tags.sh
+++ b/scripts/tags.sh
@@ -255,5 +255,5 @@ esac
 
 # Remove structure forward declarations.
 if [ -n $remove_structs ]; then
-    LANG=C sed -i -e '/^\([a-zA-Z_][a-zA-Z0-9_]*\)\t.*\t\/\^struct \1;.*\$\/;"\tx$/d' $1
+    LANG=C sed -i -e '/^\([a-zA-Z_][a-zA-Z0-9_]*\)\t.*\t\/\^struct \1;.*\$\/;"\tx$/d' tags
 fi
-- 
1.7.1


             reply	other threads:[~2012-04-01 11:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-01 11:31 Prarit Bhargava [this message]
2012-04-01 11:56 ` Yang Bai
2012-04-01 12:05   ` Cong Wang

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=1333279918-29466-1-git-send-email-prarit@redhat.com \
    --to=prarit@redhat.com \
    --cc=hamo.by@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mmarek@suse.cz \
    --cc=sboyd@codeaurora.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®