From e53e87fb0f4d127a2485ec50f123cb8ca81bbeac Mon Sep 17 00:00:00 2001 From: Tony Chia Date: Fri, 17 May 2019 17:19:04 -0700 Subject: [PATCH] test codeclimate --- setup_pre_commit_hook.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup_pre_commit_hook.sh b/setup_pre_commit_hook.sh index d5d423e..dd87116 100755 --- a/setup_pre_commit_hook.sh +++ b/setup_pre_commit_hook.sh @@ -14,7 +14,7 @@ cp pre-push ~/.git-templates/hooks echo -e "\nFind all the git repos under $DIR directory" ALL_GIT_REPOS=$(find ~/ -name .git | sed 's/\.git//g') -for repo in $ALL_GIT_REPOS; do +for repo in "$ALL_GIT_REPOS"; do echo -e "\nRunning git init on $repo under $DIR to copy the global hook"; cd $repo; git init; done;