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