Repo containing scripts to be used with dovel, and git hooks that powers our web interface.
Author: blmayer (bleemayer@gmail.com)
Date: Fri Oct 6 16:49:22 2023 -0300
Parent: cb4a810
Improved subshell command
diff --git a/post-receive b/post-receive index 92df0bc..54ea8be 100755 --- a/post-receive +++ b/post-receive @@ -262,7 +262,7 @@ creategomod() { [ -d "$OUT/@latest" ] || mkdir -p "$OUT/@latest" [ -d "$OUT/@v/$1" ] || mkdir -p "$OUT/@v/$1" - (cd "$TMP"; zip "$OUT/@v/$1" -r * ) + (cd "$TMP" && zip "$OUT/@v/$1" -r * ) cp "$OUT/@v/$1.zip" "$OUT/@latest/" rm -rf "$TMP" }