1 parent
94e06201f9
commit
1bb7a17c81
1 file changed
+3
-1
+3
-1
@@ -147,9 +147,11 @@ func exportFiles(f string, fs []string, pwd string) {
|
|||||||
}
|
}
|
||||||
envFiles := strings.Join(quotedFiles, gOpts.filesep)
|
envFiles := strings.Join(quotedFiles, gOpts.filesep)
|
||||||
|
|
||||||
|
envPWD := fmt.Sprintf(`"%s"`, pwd)
|
||||||
|
|
||||||
os.Setenv("f", envFile)
|
os.Setenv("f", envFile)
|
||||||
os.Setenv("fs", envFiles)
|
os.Setenv("fs", envFiles)
|
||||||
os.Setenv("PWD", pwd)
|
os.Setenv("PWD", envPWD)
|
||||||
|
|
||||||
if len(fs) == 0 {
|
if len(fs) == 0 {
|
||||||
os.Setenv("fx", envFile)
|
os.Setenv("fx", envFile)
|
||||||
|
|||||||
Reference in new issue
Block a user