From 0751ca592d96794598f400c6b84cac1e47ecf321 Mon Sep 17 00:00:00 2001 From: Benji Date: Mon, 28 Sep 2026 19:23:30 +0200 Subject: [PATCH] sync: 2026-09-28 19:23 --- update.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/update.sh b/update.sh index 4dbde1d..e03237a 100755 --- a/update.sh +++ b/update.sh @@ -1,14 +1,11 @@ #!/bin/sh # Set PATH so cron can find git, date, ssh, etc. -export PATH="/usr/local/bin:/usr/bin:/bin" +export PATH="/usr/local/bin:/usr/bin:/bin:$PATH" # Explicitly set target directory (don't rely on $HOME in cron) TARGET_DIR="/home/benji/Documents/COURS" -# If using SSH keys, specify the key for Git -export GIT_SSH_COMMAND="ssh -i /home/benji/.ssh/git -o IdentitiesOnly=yes" - # Navigate to target directory cd "$TARGET_DIR" || { echo "Directory not found"