commit:b26d1e1c963859d1a2581ec531805bf9258133bc
author:Chip Black
committer:Chip Black
date:Tue Nov 29 00:58:51 2022 -0600
parents:086571d166b467bd9889cf65eec5d69f6cf6aab1
Abstract out mastodon repo
diff --git a/build-mastodon.sh b/build-mastodon.sh
line changes: +1/-1
index a3fd0f9..af86d7a
--- a/build-mastodon.sh
+++ b/build-mastodon.sh
@@ -22,7 +22,7 @@ set -e
 set -x
 
 cd
-git clone https://github.com/tootsuite/mastodon.git live
+git clone $MASTODON_REPO live
 cd ~/live
 git checkout -b prod $MASTODON_VERSION
 bundle config deployment 'true'

diff --git a/common.opts b/common.opts
line changes: +1/-0
index dae0d10..975df19
--- a/common.opts
+++ b/common.opts
@@ -1,2 +1,3 @@
 FREEBSD_RELEASE=13.1-RELEASE
+MASTODON_REPO="https://github.com/tootsuite/mastodon.git"
 MASTODON_VERSION="v4.0.2"