diff --git a/services/git-monitor b/services/git-monitor index 6c671d7..524d96b 100755 --- a/services/git-monitor +++ b/services/git-monitor @@ -55,8 +55,7 @@ check_for_updates() { local current_commit_hash # Get the last known commit hash (from a file) - echo "$REPO_LOCAL_PATH/$REPO_NAME" - cd "$REPO_LOCAL_PATH/$REPO_NAME" + cd "$REPO_LOCAL_PATH/$repo_name" if [ -f "$REPO_LOCAL_PATH/$repo_name/.git-monitor-last-commit" ]; then last_commit_hash=$(cat "$REPO_LOCAL_PATH/$repo_name/.git-monitor-last-commit") else