iw4x-client/deps/protobuf/protoc-artifacts/scl-enable-devtoolset.sh

14 lines
211 B
Bash
Raw Normal View History

2024-03-07 05:13:50 -05: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-2 "$(quote "$@")"