[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1333279918-29466-1-git-send-email-prarit@redhat.com>
Date: Sun, 1 Apr 2012 07:31:58 -0400
From: Prarit Bhargava <prarit@...hat.com>
To: linux-kernel@...r.kernel.org
Cc: Prarit Bhargava <prarit@...hat.com>, Yang Bai <hamo.by@...il.com>,
Stephen Boyd <sboyd@...eaurora.org>,
Michal Marek <mmarek@...e.cz>
Subject: [PATCH] scripts, Fix 'make cscope'
commit 66979224c0d288331edcadb1e6ebd978d920d476, scripts: refactor remove
structure forward declarations, breaks 'make cscope' which now gives the
following error:
[prarit@...rit 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@...hat.com>
Cc: Yang Bai <hamo.by@...il.com>
Cc: Stephen Boyd <sboyd@...eaurora.org>
Cc: Michal Marek <mmarek@...e.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists