浏览代码

07env-install-centos.sh

lizw 2 年之前
父节点
当前提交
1b253eafe7
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      00base/07env-install-centos.sh

+ 2 - 2
00base/07env-install-centos.sh

@@ -274,7 +274,7 @@ function init:add_user() {
 function init:git() {
   log::info "[git]" "安装git环境..."
   local host="127.0.0.1"
-  local exc_cmd = "git config --global credential.helper store"
+  local exc_cmd="git config --global credential.helper store"
   command::exec "${host}" "
     yum -y install https://packages.endpointdev.com/rhel/7/os/x86_64/endpoint-repo.x86_64.rpm
     yum -y install git
@@ -333,7 +333,7 @@ function init:nginx() {
 function init:nodejs() {
   log::info "[nodejs]" "安装nodejs环境..."
   local host="127.0.0.1"
-  local exc_cmd = "
+  local exc_cmd="
       # 配置npm源
       npm config set registry https://registry.npm.taobao.org
       npm config set disturl https://npm.taobao.org/dist