summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorEmil Medve <Emilian.Medve@Freescale.com>2007-07-14 17:51:44 (GMT)
committerJunio C Hamano <gitster@pobox.com>2007-07-15 06:31:01 (GMT)
commit4cb08df553e270ab516a140caeeddd8e94f1e497 (patch)
tree90299460b9fd8f6614dc82d61c29f4369deb0287 /t
parent3f2fd36ebcc2ef15df196bd0544cc9c39da57dbf (diff)
downloadgit-4cb08df553e270ab516a140caeeddd8e94f1e497.zip
git-4cb08df553e270ab516a140caeeddd8e94f1e497.tar.gz
git-4cb08df553e270ab516a140caeeddd8e94f1e497.tar.bz2
Use $(RM) in Makefiles instead of 'rm -f'
Signed-off-by: Emil Medve <Emilian.Medve@Freescale.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't')
-rw-r--r--t/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/t/Makefile b/t/Makefile
index b25caca..72d7884 100644
--- a/t/Makefile
+++ b/t/Makefile
@@ -6,6 +6,7 @@
#GIT_TEST_OPTS=--verbose --debug
SHELL_PATH ?= $(SHELL)
TAR ?= $(TAR)
+RM ?= rm -f
# Shell quote;
SHELL_PATH_SQ = $(subst ','\'',$(SHELL_PATH))
@@ -19,7 +20,7 @@ $(T):
@echo "*** $@ ***"; GIT_CONFIG=.git/config '$(SHELL_PATH_SQ)' $@ $(GIT_TEST_OPTS)
clean:
- rm -fr trash
+ $(RM) -r trash
# we can test NO_OPTIMIZE_COMMITS independently of LC_ALL
full-svn-test: