[PATCH] generate-cmdlist.sh should be either executable or run as parameter of "."

From: Mulyadi Santosa
Date: Fri Sep 25 2009 - 15:01:52 EST


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@xxxxxxxxx>

--- 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) $@ $@+ && \
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/