scl-enable-devtoolset.sh 211 B

12345678910111213
  1. #!/bin/bash
  2. set -eu -o pipefail
  3. quote() {
  4. local arg
  5. for arg in "$@"; do
  6. printf "'"
  7. printf "%s" "$arg" | sed -e "s/'/'\\\\''/g"
  8. printf "' "
  9. done
  10. }
  11. exec scl enable devtoolset-2 "$(quote "$@")"