Finally fix the problem

This commit is contained in:
2026-07-23 19:37:06 +01:00
parent 7e5e769c8f
commit 91e937f9e5
+1 -2
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)
cd "$GITMONITOR cd "$GITMONITOR_LOCAL_PATH/$repo_name"
$GITMONITOR_LOCAL_PATH/$repo_name"
if [ -f "$GITMONITOR_LOCAL_PATH/$repo_name/.git-monitor-last-commit" ]; then if [ -f "$GITMONITOR_LOCAL_PATH/$repo_name/.git-monitor-last-commit" ]; then
last_commit_hash=$(cat "$GITMONITOR_LOCAL_PATH/$repo_name/.git-monitor-last-commit") last_commit_hash=$(cat "$GITMONITOR_LOCAL_PATH/$repo_name/.git-monitor-last-commit")
else else