Allow curl to follow redirects

This commit is contained in:
Jose Gracia 2024-06-07 17:38:27 +02:00
parent fbd405332e
commit 7f78a882de

View file

@ -84,12 +84,12 @@ _HLRS_SPACK_CONFIG_REPO=
# bootstrap environment variables # bootstrap environment variables
# (using [bash process substitution](https://tldp.org/LDP/abs/html/process-sub.html)) # (using [bash process substitution](https://tldp.org/LDP/abs/html/process-sub.html))
source <(curl $_HLRS_SPACK_PLUMBING_REPO/hlrs-plumbing/envs/00_base_prefix.env) source <(curl -L $_HLRS_SPACK_PLUMBING_REPO/hlrs-plumbing/envs/00_base_prefix.env)
source <(curl $_HLRS_SPACK_PLUMBING_REPO/hlrs-plumbing/envs/01_release_root.env) source <(curl -L $_HLRS_SPACK_PLUMBING_REPO/hlrs-plumbing/envs/01_release_root.env)
source <(curl $_HLRS_SPACK_PLUMBING_REPO/hlrs-plumbing/envs/02_hlrs_spack_root.env) source <(curl -L $_HLRS_SPACK_PLUMBING_REPO/hlrs-plumbing/envs/02_hlrs_spack_root.env)
# setup plumbing directory # setup plumbing directory
curl $_HLRS_SPACK_PLUMBING_REPO/hlrs-plumbing/scripts/xx_checkout_repo.sh | \ curl -L $_HLRS_SPACK_PLUMBING_REPO/hlrs-plumbing/scripts/xx_checkout_repo.sh | \
bash -s -- $_HLRS_SPACK_PLUMBING_REPO \ bash -s -- $_HLRS_SPACK_PLUMBING_REPO \
$HLRS_SOFTWARE_STACK_RELEASE_VERSION $HLRS_SOFTWARE_STACK_RELEASE_ROOT . $HLRS_SOFTWARE_STACK_RELEASE_VERSION $HLRS_SOFTWARE_STACK_RELEASE_ROOT .
_HLRS_PLUMBING_DIR=$HLRS_SOFTWARE_STACK_RELEASE_ROOT/hlrs-plumbing _HLRS_PLUMBING_DIR=$HLRS_SOFTWARE_STACK_RELEASE_ROOT/hlrs-plumbing