fix always checkout headless

This commit is contained in:
Jakobus Schürz 2021-10-03 23:09:57 +02:00
parent 05ced7bc0e
commit 9f166a277f

View file

@ -79,7 +79,9 @@ if ! $SSHS; then
[ -z "${MSC_GIT_REMOTE_NAME+x}" ] && export MSC_GIT_REMOTE_NAME=origin
[ -z "${MSC_GIT_BRANCH+x}" ] && export MSC_GIT_BRANCH=master
# If TAG is set, checkout is always headless.
[ -z "${MSC_GIT_TAG:-x}" ] || { export MSC_GIT_BRANCH=${MSC_GIT_TAG}; export MSC_GIT_CHECKOUTSCRIPT_OPTIONS="-h"; }
loginfo "MSC_GIT_CHECKOUTSCRIPT_OPTIONS: $MSC_GIT_CHECKOUTSCRIPT_OPTIONS"
[ -z "${MSC_GIT_TAG:+x}" ] || { export MSC_GIT_BRANCH=${MSC_GIT_TAG}; export MSC_GIT_CHECKOUTSCRIPT_OPTIONS="-h"; }
loginfo "MSC_GIT_CHECKOUTSCRIPT_OPTIONS after: $MSC_GIT_CHECKOUTSCRIPT_OPTIONS"
#GIT_SSH_PATH="/srv/repos"