Revert "tutorial: update the initial commit example."
[gitweb.git] / t / Makefile
index fc9f734fef697e77f8b3ac1811a863636354b958..e71da7782ecce282a2c0098cc1d10d2171a5a954 100644 (file)
@@ -2,12 +2,15 @@
 #
 # Copyright (c) 2005 Junio C Hamano
 #
-#OPTS=--verbose --debug
+
+#GIT_TEST_OPTS=--verbose --debug
+SHELL_PATH ?= $(SHELL)
+TAR ?= $(TAR)
 
 T = $(wildcard t[0-9][0-9][0-9][0-9]-*.sh)
 
 all:
-       @$(foreach t,$T,echo "*** $t ***"; sh $t $(OPTS) || exit; )
+       @$(foreach t,$T,echo "*** $t ***"; $(SHELL_PATH) $t $(GIT_TEST_OPTS) || exit; )
        @rm -fr trash
 
 clean: