aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTrey Bastian <hello@treybastian.com>2026-04-08 16:30:19 +0100
committerTrey Bastian <hello@treybastian.com>2026-04-08 16:30:19 +0100
commit42b4403f6a55b5b2d722a7cb99f4092c4b9a494e (patch)
tree190a02ee8a8e941561a19ad05bffeba9d8bafc7a
parent07f7f899e23b14ad8d5247505e35b6c0d9f8ef66 (diff)
fixed log file path
-rwxr-xr-xgit-hooks/post-receive2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-hooks/post-receive b/git-hooks/post-receive
index a628d02..9154df9 100755
--- a/git-hooks/post-receive
+++ b/git-hooks/post-receive
@@ -12,7 +12,7 @@
REPO_PATH=$(pwd)
PUBLIC_FILE="$REPO_PATH/public.conf"
-LOGFILE="/home/git/public-sync.log" # log our syncing isssues
+LOGFILE="$HOME/public-sync.log" # log our syncing isssues
if [ -f "$PUBLIC_FILE" ]; then
REPO_URL=$(cat "$PUBLIC_FILE" | tr -d '\n' | xargs)