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 18:02:04 2023 -0300
Parent: 0129595
Fixed cp
diff --git a/post-receive b/post-receive
index 5cdfd14..a6a6b2e 100755
--- a/post-receive
+++ b/post-receive
@@ -266,7 +266,7 @@ creategomod() {
[ -d "$PREFIX/@v" ] || mkdir -p "$PREFIX/@v"
(cd "$TMP" && find * -type f -print | zip -@ "$PREFIX/@v/$1.zip")
echo "{\"Version\":\"$1\"}" > "$PREFIX/@v/$1.info"
- cp "$TMP/dovel.email/$REPO@$1/go.mod" > "$PREFIX/@v/$1.mod"
+ cp "$TMP/dovel.email/$REPO@$1/go.mod" "$PREFIX/@v/$1.mod"
rm -rf "$TMP"
}