list

scripts

Repo containing scripts to be used with dovel, and git hooks that powers our web interface.

curl -O https://dovel.email/scripts.tar tar

dafff4a

Author: blmayer (bleemayer@gmail.com)

Date: Fri Oct 6 16:49:22 2023 -0300

Parent: cb4a810

Improved subshell command

Diff

post-receive

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"
 }