install 390 B

1234567891011121314151617181920
  1. #!/usr/bin/env bash
  2. # make tracing easy
  3. export PS4="+ \${BASH_SOURCE##\${rvm_path:-}} : \${FUNCNAME[0]:+\${FUNCNAME[0]}()} \${LINENO} > "
  4. # Tracing, if asked for - as early as possible
  5. if
  6. [[ "$*" == *--trace* ]] || (( ${rvm_trace_flag:-0} > 0 ))
  7. then
  8. set -x
  9. export rvm_trace_flag=1
  10. fi
  11. set -o errtrace
  12. shopt -s extglob
  13. source "$PWD/scripts/functions/installer"
  14. install_rvm "$@"