From 9f045b99076fa30cb5a2eee08e3d9faf4d075af3 Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Mon, 21 Nov 2022 19:45:42 +0100 Subject: Fix cd and small makefile change --- post-receive-stagit | 1 + 1 file changed, 1 insertion(+) (limited to 'post-receive-stagit') diff --git a/post-receive-stagit b/post-receive-stagit index bad3b68..ac4f1e3 100755 --- a/post-receive-stagit +++ b/post-receive-stagit @@ -19,6 +19,7 @@ genstagit() { rm -rf "$htdir" mkdir -p "$basedir" cp -r "$repo" "$htdir" + cd "$htdir" stagit -l 100 "$repo" git show master:README.md > file/README.md git archive HEAD --prefix="$name/" -o "$basedir/$name.zip" -- cgit v1.3