pub / stagit-scripts

Building src.jayvii.de with stagit
git clone https://src.jayvii.de/pub/stagit-scripts.git
Home | Log | Files | Exports | Refs | README | RSS

commit 96335fdc1b1e91df24017f3393ec5c8db1daf8c5
parent 6eb457054dbb27b9955a0e6e5face324551d4c7e
Author: JayVii <jayvii[AT]posteo[DOT]de>
Date:   Mon, 17 Jun 2024 20:59:51 +0200

fix: setup correct paramaters in post-hooks

Diffstat:
Mbin/git_create_repo.sh | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/git_create_repo.sh b/bin/git_create_repo.sh @@ -67,8 +67,8 @@ fi PUH_FILE="${1}/${2}/${3}.git/hooks/post-update" touch "$PUH_FILE" chmod +x "$PUH_FILE" -echo "#!/usr/bin/env sh" >> "$PUH_FILE" -echo "~/bin/git_post_push.sh \"${1}\" \"${2}\" \"${3}\" \$@" >> "$PUH_FILE" +echo "#!/usr/bin/env sh +~/bin/git_post_push.sh \"${1}\" \"${2}\" \"${3}\" \"\$@\"" >> "$PUH_FILE" # make branch cloneable via http(s) git update-server-info