git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Remove perl dependant commands if NO_PERL is set
@ 2015-09-03 16:35 garga
  2015-09-03 19:11 ` Junio C Hamano
  0 siblings, 1 reply; 8+ messages in thread
From: garga @ 2015-09-03 16:35 UTC (permalink / raw)
  To: git; +Cc: Renato Botelho

From: Renato Botelho <garga@FreeBSD.org>

git-submodule and git-request-pull are written in sh but use perl
internally. Add them to be replaced by unimplemented.sh when NO_PERL
flag is set
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index e326fa0..4dae0ec 100644
--- a/Makefile
+++ b/Makefile
@@ -1795,7 +1795,7 @@ git-instaweb: git-instaweb.sh GIT-SCRIPT-DEFINES
 	chmod +x $@+ && \
 	mv $@+ $@
 else # NO_PERL
-$(SCRIPT_PERL_GEN) git-instaweb: % : unimplemented.sh
+$(SCRIPT_PERL_GEN) git-instaweb git-submodule git-request-pull: % : unimplemented.sh
 	$(QUIET_GEN)$(RM) $@ $@+ && \
 	sed -e '1s|#!.*/sh|#!$(SHELL_PATH_SQ)|' \
 	    -e 's|@@REASON@@|NO_PERL=$(NO_PERL)|g' \
-- 
2.5.1

^ permalink raw reply related	[flat|nested] 8+ messages in thread
* [PATCH] Remove perl dependant commands if NO_PERL is set
@ 2015-09-03 19:46 garga
  2015-09-03 20:04 ` Junio C Hamano
  0 siblings, 1 reply; 8+ messages in thread
From: garga @ 2015-09-03 19:46 UTC (permalink / raw)
  To: git; +Cc: Renato Botelho

From: Renato Botelho <garga@FreeBSD.org>

git-submodule and git-request-pull are written in sh but use perl
internally. Add them to be replaced by unimplemented.sh when NO_PERL
flag is set

Signed-off-by: Renato Botelho <garga@FreeBSD.org>
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index e326fa0..4dae0ec 100644
--- a/Makefile
+++ b/Makefile
@@ -1795,7 +1795,7 @@ git-instaweb: git-instaweb.sh GIT-SCRIPT-DEFINES
 	chmod +x $@+ && \
 	mv $@+ $@
 else # NO_PERL
-$(SCRIPT_PERL_GEN) git-instaweb: % : unimplemented.sh
+$(SCRIPT_PERL_GEN) git-instaweb git-submodule git-request-pull: % : unimplemented.sh
 	$(QUIET_GEN)$(RM) $@ $@+ && \
 	sed -e '1s|#!.*/sh|#!$(SHELL_PATH_SQ)|' \
 	    -e 's|@@REASON@@|NO_PERL=$(NO_PERL)|g' \
-- 
2.5.1

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

end of thread, other threads:[~2015-09-03 20:15 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-03 16:35 [PATCH] Remove perl dependant commands if NO_PERL is set garga
2015-09-03 19:11 ` Junio C Hamano
2015-09-03 19:39   ` Renato Botelho
2015-09-03 19:56     ` Junio C Hamano
2015-09-03 20:02       ` Renato Botelho
2015-09-03 20:15         ` Junio C Hamano
  -- strict thread matches above, loose matches on Subject: below --
2015-09-03 19:46 garga
2015-09-03 20:04 ` Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).