download_and_compile.sh: cosmetic changes
This commit is contained in:
parent
250c0c54a8
commit
7c5ad2405e
@ -419,8 +419,8 @@ while true; do
|
|||||||
--git-clone-site-params)
|
--git-clone-site-params)
|
||||||
if [[ "$2" =~ ^([[:alnum:]]+)=([[:alpha:]]+)(:([[:alnum:]]+))?$ ]]; then
|
if [[ "$2" =~ ^([[:alnum:]]+)=([[:alpha:]]+)(:([[:alnum:]]+))?$ ]]; then
|
||||||
site="${BASH_REMATCH[1],,}" # convert the site to lowercase
|
site="${BASH_REMATCH[1],,}" # convert the site to lowercase
|
||||||
proto="${BASH_REMATCH[2],,}" # ditto for the protocol
|
|
||||||
verbatim_proto="${BASH_REMATCH[2]}"
|
verbatim_proto="${BASH_REMATCH[2]}"
|
||||||
|
proto="${verbatim_proto,,}" # ditto for the protocol
|
||||||
username="${BASH_REMATCH[4]}" # but take the username verbatim
|
username="${BASH_REMATCH[4]}" # but take the username verbatim
|
||||||
|
|
||||||
if ! _elementIn "$proto" ssh https git; then
|
if ! _elementIn "$proto" ssh https git; then
|
||||||
@ -1171,8 +1171,5 @@ else
|
|||||||
| tee -a "$LOGFILE"
|
| tee -a "$LOGFILE"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo ""
|
echo
|
||||||
echo "download_and_compile.sh has finished to work"
|
echo "download_and_compile.sh has finished to work"
|
||||||
|
|
||||||
cd "$CBD"
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user