Fix splitting all '='
This commit is contained in:
parent
c99ba53f8e
commit
0701d9f484
@ -275,7 +275,7 @@ func parseEnvironment(raw string) map[string]string {
|
|||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
splitVar := strings.Split(v, "=")
|
splitVar := strings.SplitN(v, "=", 2)
|
||||||
if len(splitVar) > 1 {
|
if len(splitVar) > 1 {
|
||||||
vars[splitVar[0]] = splitVar[1]
|
vars[splitVar[0]] = splitVar[1]
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user