Newer
Older
DummyAnd / lazyDir / enable-scl.sh
@Benoit Donneaux Benoit Donneaux on 23 Apr 2020 270 bytes [DP-790] Try to avoid Jenkins warning about entrypoint
# Make sure home bin directory is in PATH 
if ! [[ "${PATH}" =~ "${HOME}/bin" ]]; then
  export PATH="${HOME}/bin:${PATH}"
fi

# Activate all Software collections - if any
IFS=$'\n' SCLS=($(scl --list)) && test ${#SCLS[@]} -eq 0 || source scl_source enable "${SCLS[@]}"