diff --git a/compose/gen-config-yaml.sh b/compose/gen-config-yaml.sh index 473342aa5f..92e2a99e00 100755 --- a/compose/gen-config-yaml.sh +++ b/compose/gen-config-yaml.sh @@ -21,7 +21,7 @@ export etcd_url='http://192.17.5.10:2379' unamestr=`uname` -wget https://raw.githubusercontent.com/apache/apisix/master/conf/config-default.yaml -o config.yaml +wget https://raw.githubusercontent.com/apache/apisix/master/conf/config-default.yaml -O config.yaml if [[ "$unamestr" == 'Darwin' ]]; then sed -i '' -e ':a' -e 'N' -e '$!ba' -e "s/allow_admin[a-z: #\/._]*\n\( *- [0-9a-zA-Z: #\/._',]*\n*\)*//g" config.yaml