14 lines
211 B
Bash
14 lines
211 B
Bash
|
#!/bin/bash
|
||
|
set -eu -o pipefail
|
||
|
|
||
|
quote() {
|
||
|
local arg
|
||
|
for arg in "$@"; do
|
||
|
printf "'"
|
||
|
printf "%s" "$arg" | sed -e "s/'/'\\\\''/g"
|
||
|
printf "' "
|
||
|
done
|
||
|
}
|
||
|
|
||
|
exec scl enable devtoolset-2 "$(quote "$@")"
|