From 8c2e5b1f7a161595fe63732352b8e086752bacd0 Mon Sep 17 00:00:00 2001 From: Ruben Ayrapetyan Date: Mon, 4 Aug 2014 22:10:42 +0400 Subject: [PATCH] Fixing command that excludes 'out' directory from list outputted by git status for checking if Git status of directory is clean. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 0f3a5817d..c63d24205 100644 --- a/Makefile +++ b/Makefile @@ -108,7 +108,7 @@ precommit: clean git_status_pre_test_check build @ echo -e "Parse-only testing completed successfully. Starting full tests run.\n" @ echo -e "\e[0;31mFIXME:\e[0m Full testing skipped.\n"; # $(MAKE) -s $(PRECOMMIT_CHECK_TARGETS_LIST) TESTS_DIR=./tests/jerry OUTPUT_TO_LOG=enable @ echo -e "Full testing completed successfully\n\n================\n\n" - @ if [ "`git status --porcelain 2>&1 | grep -v -e '^?? out/$' | wc -l`" == "0" ]; \ + @ if [ "`git status --porcelain 2>&1 | grep -v -e '^?? out/$$' | wc -l`" == "0" ]; \ then \ echo -e "\e[0;32m OK to push\e[0m"; \ else \