commit 21c9abfb5847737d9718aa8b20428f536659c061 parent 8a69f328bfaa9913da8861f1a22242949ee101bf Author: Jake Koroman <jakekoroman@gmail.com> Date: Sun, 4 Aug 2024 22:11:17 -0400 fix wrong path Diffstat:
M | example_create.sh | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/example_create.sh b/example_create.sh @@ -40,7 +40,7 @@ for dir in "${reposdir}/"*/; do mkdir -p "${curdir}/${d}" cd "${curdir}/${d}" || continue stagit -c ".cache" -u "https://git.jakekoroman.com/$d/" "${reposdir}/${r}" - cat "/home/git/opt/stagit/example_post-receive" | sed "s/{REPO_DIR}/$d/g" > "${reposdir}${r}/hooks/post-receive" && chmod +x "${reposdir}${r}/hooks/post-receive" + cat "/home/git/opt/stagit/example_post-receive.sh" | sed "s/{REPO_DIR}/$d/g" > "${reposdir}${r}/hooks/post-receive" && chmod +x "${reposdir}${r}/hooks/post-receive" # symlinks ln -sf log.html index.html