sourcehut helper: Added option to specify pmbootstrap branch

This commit is contained in:
Martijn Braam 2019-02-16 16:51:23 +01:00
parent a3b88e2e28
commit 85bafd1e3a

View file

@ -3,7 +3,12 @@
# SPDX-License-Identifier: GPL-3.0-or-later
# Config: pmbootstrap tag (or branch)
tag="master"
if [ "$1" != "" ]; then
tag="$1"
else
tag="master"
fi
# Get download URL and pmaports path
url="https://gitlab.com/postmarketOS/pmbootstrap/-/archive/$tag/pmbootstrap-$tag.tar.bz2"