Browse Source

Update generate-patch.sh to use env.var or first argument, rather than hard-coding version.

master
root 2 weeks ago
parent
commit
c6709a955a
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      generate-patch.sh

+ 5
- 1
generate-patch.sh View File

@@ -1,5 +1,9 @@
#!/bin/sh
MASTODON_VERSION="2.9.3"
if [ "x$1" != "x" ]; then MASTODON_VERSION=$1; fi
if [ "x$MASTODON_VERSION" == "x" ]; then
echo "Please specify a version as the first argument or via env. var. MASTODON_VERSION">/dev/stderr
exit 1
fi
git clone https://git.maff.scot/mirrors/mastodon untainted
cd untainted
git fetch --all --tags


Loading…
Cancel
Save