This is an automated email from the ASF dual-hosted git repository.

juzhiyuan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix-dashboard.git


The following commit(s) were added to refs/heads/master by this push:
     new cdc4af4  fix #386 wget special output file use -O (#387)
cdc4af4 is described below

commit cdc4af4fb4543fae27cffaa05118bdadc73ea8ea
Author: kv <[email protected]>
AuthorDate: Fri Aug 21 16:32:23 2020 +0800

    fix #386 wget special output file use -O (#387)
---
 compose/gen-config-yaml.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/compose/gen-config-yaml.sh b/compose/gen-config-yaml.sh
index 473342a..92e2a99 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

Reply via email to