Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame] | 1 | #!/bin/bash |
2 | set -eu -o pipefail | ||||
3 | |||||
4 | quote() { | ||||
5 | local arg | ||||
6 | for arg in "$@"; do | ||||
7 | printf "'" | ||||
8 | printf "%s" "$arg" | sed -e "s/'/'\\\\''/g" | ||||
9 | printf "' " | ||||
10 | done | ||||
11 | } | ||||
12 | |||||
13 | exec scl enable devtoolset-2 "$(quote "$@")" |