various scripts I use to make my life easier

fixed escaping vars

Changed files
+4 -1
+4 -1
post-receive
···
}
# make sure the sync occurs in the background
-
nohub bash -c " it push --mirror "$REPO_URL" >> "$LOGFILE" 2>&1" > /dev/nul 2>&1 &
+
nohup bash -c "
+
cd \"$REPO_PATH\" || exit 1
+
git push --mirror \"$REPO_URL\" >> \"$LOGFILE\" 2>&1
+
" > /dev/nul 2>&1 &
# vim: filetype=sh