Use correct lower case style for $repo_name

This commit is contained in:
2025-09-21 01:33:11 +02:00
parent 181e6c54da
commit 74dfbec98b

View File

@@ -55,8 +55,7 @@ check_for_updates() {
local current_commit_hash local current_commit_hash
# Get the last known commit hash (from a file) # 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 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") last_commit_hash=$(cat "$REPO_LOCAL_PATH/$repo_name/.git-monitor-last-commit")
else else