public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] generate-cmdlist.sh should be either executable or run as  parameter of "."
@ 2009-09-25 19:01 Mulyadi Santosa
  2009-09-30 12:08 ` Ingo Molnar
  2009-10-01  9:58 ` [tip:perf/urgent] perf tools: Run generate-cmdlist.sh properly tip-bot for Mulyadi Santosa
  0 siblings, 2 replies; 5+ messages in thread
From: Mulyadi Santosa @ 2009-09-25 19:01 UTC (permalink / raw)
  To: mingo; +Cc: linux-kernel

I believe this is just a small glitch. generate-cmdlist.sh by default
should be made as executable. But since one might forgot to do it, we
could simply call it as an argument "." or "source" or even "sh -c". I
pick "."

Tested in 2.6.31

Signed-off-by: Mulyadi Santosa <mulyadi.santosa@gmail.com>

--- linux-2.6.31/tools/perf/Makefile.bak	2009-09-12 22:28:37.000000000 +0700
+++ linux-2.6.31/tools/perf/Makefile	2009-09-26 01:51:04.000000000 +0700
@@ -682,7 +682,7 @@
 common-cmds.h: util/generate-cmdlist.sh command-list.txt

 common-cmds.h: $(wildcard Documentation/perf-*.txt)
-	$(QUIET_GEN)util/generate-cmdlist.sh > $@+ && mv $@+ $@
+	$(QUIET_GEN). util/generate-cmdlist.sh > $@+ && mv $@+ $@

 $(patsubst %.sh,%,$(SCRIPT_SH)) : % : %.sh
 	$(QUIET_GEN)$(RM) $@ $@+ && \

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

end of thread, other threads:[~2009-10-01  9:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-25 19:01 [PATCH] generate-cmdlist.sh should be either executable or run as parameter of "." Mulyadi Santosa
2009-09-30 12:08 ` Ingo Molnar
2009-09-30 12:17   ` Sam Ravnborg
2009-10-01  8:11     ` Ingo Molnar
2009-10-01  9:58 ` [tip:perf/urgent] perf tools: Run generate-cmdlist.sh properly tip-bot for Mulyadi Santosa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox