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 4d4f815  fix: wget config-default.yaml the output file need to be 
named config.yaml (#384)
4d4f815 is described below

commit 4d4f8159a9c1e29cf4f2ac5f7ea40c99381aad9f
Author: kv <[email protected]>
AuthorDate: Wed Aug 19 19:38:45 2020 +0800

    fix: wget config-default.yaml the output file need to be named config.yaml 
(#384)
---
 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 92b696e..473342a 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
+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