commit e7aff9b9773d6b94c3eb52ad16f6d73fb351a4d9 parent a5a987cd703adad9e258e311c338bb71148ae865 Author: JayVii <jayvii[AT]posteo[DOT]de> Date: Thu, 6 Jun 2024 23:13:15 +0200 fix: do not replace the shell via exec Diffstat:
M | bin/git_create_repo.sh | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/git_create_repo.sh b/bin/git_create_repo.sh @@ -68,7 +68,7 @@ PUH_FILE="${1}/${2}/${3}.git/hooks/post-update" touch "$PUH_FILE" chmod +x "$PUH_FILE" echo "#!/usr/bin/env sh" >> "$PUH_FILE" -echo "exec ~/bin/git_post_push.sh \"${1}\" \"${2}\" \"${3}\"" >> "$PUH_FILE" +echo "~/bin/git_post_push.sh \"${1}\" \"${2}\" \"${3}\"" >> "$PUH_FILE" # make branch cloneable via http(s) git update-server-info