clone: avoid redirect

This commit is contained in:
0x1eef 2024-05-11 17:18:28 -03:00
parent 3c674ef7d5
commit 0c6308f99c

View file

@ -5,7 +5,7 @@ set -e
# variables
localbase="${LOCALBASE:-/usr/local}"
gitdir="/home/_srczap/src"
giturl="${SRCZAP_GITURL:-https://git.hardenedbsd.org/hardenedbsd/HardenedBSD/}"
giturl="${SRCZAP_GITURL:-https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git}"
branch="${SRCZAP_BRANCH:-hardened/14-stable/master}"
installdir="${SRCZAP_INSTALLDIR:-/usr/src}"
revision="${installdir}"/.srczap