naiveproxy/third_party/protobuf/protoc-artifacts/scl-enable-devtoolset.sh

14 lines
213 B
Bash
Raw Normal View History

2018-12-10 05:59:24 +03:00
#!/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-1.1 "$(quote "$@")"