]> git.ameliathe1st.gay Git - git-over-gnunet.git/commitdiff
Full path instead of relative
authorAmélia Coutard-Sander <git@ameliathe1st.gay>
Mon, 2 Dec 2024 10:59:37 +0000 (11:59 +0100)
committerAmélia Coutard-Sander <git@ameliathe1st.gay>
Mon, 2 Dec 2024 10:59:37 +0000 (11:59 +0100)
daemon.sh

index 1b86ab04e3f9b814e08f44eb10578f86307c9b4d..07208125f72a693714f716b39ec60146761d4850 100755 (executable)
--- a/daemon.sh
+++ b/daemon.sh
@@ -16,7 +16,7 @@ name="$2"
 echo >&2 "Running $service on port \`git.$name.git-$service'."
 
 mktempfifo
-while < "$fifo_name" gnunet-cadet -o "git.$name.git-$service" | git "$service" "$name" | (cat; sleep 5) | cat > "$fifo_name"; test 130 != "$?"; do
+while < "$fifo_name" gnunet-cadet -o "git.$name.git-$service" | git "$service" "$(pwd)/$name" | (cat; sleep 5) | cat > "$fifo_name"; test 130 != "$?"; do
        rm "$fifo_name"
        mktempfifo
 done