From b3bc4452d26304c620fbca5a20db4b695eb8229c Mon Sep 17 00:00:00 2001 From: Damian Janowski Date: Fri, 24 Jun 2011 13:56:06 -0300 Subject: [PATCH] Avoid bug reports when Tcl is not installed. --- src/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makefile b/src/Makefile index e08c69876..81bd24593 100644 --- a/src/Makefile +++ b/src/Makefile @@ -178,7 +178,7 @@ dep: $(CC) -MM *.c -I ../deps/hiredis -I ../deps/linenoise test: redis-server - (cd ..; tclsh8.5 tests/test_helper.tcl --tags "${TAGS}" --file "${FILE}") + @(cd ..; (which tclsh >/dev/null && tclsh tests/test_helper.tcl --tags "${TAGS}" --file "${FILE}") || echo "You need to install Tcl in order to run tests.") bench: ./redis-benchmark -- GitLab