All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/1] scripts: fix cscope breakage
@ 2012-04-02 11:18 Jiri Slaby
  2012-04-02 16:07 ` Stephen Boyd
  0 siblings, 1 reply; 2+ messages in thread
From: Jiri Slaby @ 2012-04-02 11:18 UTC (permalink / raw)
  To: mmarek; +Cc: torvalds, linux-kernel, jirislaby, Yang Bai, Stephen Boyd

Commit 66979224c0d2 (scripts: refactor remove structure forward
declarations) introduced a breakage in tags.sh for others than tags.
So make cscope now fails with:
sed: can't read cscope: No such file or directory

Fix it by quoting remove_structs properly.

Guys, for how long has this been in -next? I update -next and run
cscope once a week and this issue is new this week. And the patch is
already in -rc1? WTF?

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Yang Bai <hamo.by@gmail.com>
Cc: Stephen Boyd <sboyd@codeaurora.org>
Cc: Michal Marek <mmarek@suse.cz>
---
 scripts/tags.sh |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-04-02 16:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-02 11:18 [PATCH 1/1] scripts: fix cscope breakage Jiri Slaby
2012-04-02 16:07 ` Stephen Boyd

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.