eggo/0003-use-export-to-replace-go-env.patch
zhangxiaoyu 0777151d5d upgrage to v0.9.1-1
Signed-off-by: zhangxiaoyu <zhangxiaoyu58@huawei.com>
2021-08-03 15:28:17 +08:00

41 lines
1.1 KiB
Diff
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

From 0d411aace540cc13ff9af83371e6d9e6576cafc6 Mon Sep 17 00:00:00 2001
From: haozi007 <liuhao27@huawei.com>
Date: Tue, 27 Jul 2021 12:11:01 +0100
Subject: [PATCH 3/9] use export to replace go env
Signed-off-by: haozi007 <liuhao27@huawei.com>
---
README.en.md | 2 +-
README.md | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/README.en.md b/README.en.md
index eb4a5e6..1a7168c 100644
--- a/README.en.md
+++ b/README.en.md
@@ -10,7 +10,7 @@ Eggo is a tool built to provide standard multi-ways for creating Kubernetes clus
```bash
# enable go mod
-$ go env -w GO111MODULE=on
+$ export GO111MODULE=on
# set goproxy
$ go env -w GOPROXY=https://goproxy.cn,direct
# download dependences
diff --git a/README.md b/README.md
index 64709a0..721370f 100644
--- a/README.md
+++ b/README.md
@@ -11,7 +11,7 @@ Eggo项目旨在解决大规模生产环境K8S集群自动化部署问题、部
```bash
# 使能go mod
-$ go env -w GO111MODULE=on
+$ export GO111MODULE=on
# 设置goproxy为国内代理也可以设置为其他公司的代理
$ go env -w GOPROXY=https://goproxy.cn,direct
# 下载依赖库
--
2.25.1