diff --git a/src/bin/git_pull.sh b/src/bin/git_pull.sh index 0ef1334..949b9bc 100755 --- a/src/bin/git_pull.sh +++ b/src/bin/git_pull.sh @@ -16,7 +16,7 @@ BASE_FOLDER=$(dirname "$(readlink -f "$0")")"/"; # check that repository path exists GIT_REPOSITORY_FOLDER="${GIT_WEBHOOK_BASE_FOLDER}${CLONE_BASE}${REPOSITORY}"; -if [ ! -d "${GIT_REPOSITORY_FOLDER}$" ]; then +if [ ! -d "${GIT_REPOSITORY_FOLDER}" ]; then echo "[!] ${REPOSITORY} not found in clone folder"; echo "[!] Full path: ${GIT_REPOSITORY_FOLDER}"; exit;