aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbuild.sh2
-rw-r--r--post-receive.example2
2 files changed, 2 insertions, 2 deletions
diff --git a/build.sh b/build.sh
index f6a63f8..3dccb49 100755
--- a/build.sh
+++ b/build.sh
@@ -14,7 +14,7 @@ title="aaoth.xyz"
feed_title="$title - feed"
if [ -z "$AAOTH_ROOT" ]; then root="dst"; else root="$AAOTH_ROOT"; fi
-if [ -z "$AAOTH_GEMROOT" ]; then gemroot="dst_gemini"; else root="$AAOTH_GEMROOT"; fi
+if [ -z "$AAOTH_GEMROOT" ]; then gemroot="dst_gemini"; else gemroot="$AAOTH_GEMROOT"; fi
en_src="en"
en_dst="$root"
en_gemdst="$gemroot"
diff --git a/post-receive.example b/post-receive.example
index 84a5b6c..da32264 100644
--- a/post-receive.example
+++ b/post-receive.example
@@ -14,7 +14,7 @@ export AAOTH_ROOT AAOTH_GEMROOT
git clone -b main "$GIT_REPO" "$TMP_GIT_CLONE"
# build the site
-cd "$TMP_GIT_CLONE" && sh build.sh
+cd "$TMP_GIT_CLONE" && ./build.sh
# clean up
rm -Rf "$TMP_GIT_CLONE"