Commit 213b00b0 authored by Brandon Walts's avatar Brandon Walts
Browse files

Added passthrough for PLENV_VERSION for running in a plenv environment

parent 788422e9
...@@ -132,6 +132,7 @@ func scriptHandler(w http.ResponseWriter, r *http.Request) { ...@@ -132,6 +132,7 @@ func scriptHandler(w http.ResponseWriter, r *http.Request) {
cmd.Env = append(cmd.Env, "EHIVE_ROOT_DIR=" + ehiveRootDir) cmd.Env = append(cmd.Env, "EHIVE_ROOT_DIR=" + ehiveRootDir)
cmd.Env = append(cmd.Env, "GUIHIVE_BASEDIR=" + versionRootDir) cmd.Env = append(cmd.Env, "GUIHIVE_BASEDIR=" + versionRootDir)
cmd.Env = append(cmd.Env, "PATH=" + os.Getenv("PATH")) cmd.Env = append(cmd.Env, "PATH=" + os.Getenv("PATH"))
cmd.Env = append(cmd.Env, "PLENV_VERSION=" + os.Getenv("PLENV_VERSION"))
cmd.Stdout = &outMsg cmd.Stdout = &outMsg
cmd.Stderr = &errMsg cmd.Stderr = &errMsg
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment