Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/testmodBuilder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElliott Sales de Andrade <quantum.analyst@gmail.com>2020-04-17 12:01:10 +0300
committerElliott Sales de Andrade <quantum.analyst@gmail.com>2020-04-17 12:01:10 +0300
commitde8c982a887ac41ee3d6c300c901cf50c28357b4 (patch)
treed00bdbac7c1c37b23498872d3171613b4a4f1c35
parentb854d941a844e5bc89f1d32d7b3681a6c76ec2ef (diff)
Fix a typo from osutil.Environ removal.
When setting the environment variable, it needs an `=` between key and value.
-rw-r--r--build/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/main.go b/build/main.go
index cbe1f4e..da86f30 100644
--- a/build/main.go
+++ b/build/main.go
@@ -66,7 +66,7 @@ type mb struct {
}
func (b *mb) cdir(dir string) {
- b.environ = append(b.environ, "PWD"+dir)
+ b.environ = append(b.environ, "PWD="+dir)
b.dir = dir
}