Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
ensembl-gh-mirror
guiHive
Commits
213b00b0
Commit
213b00b0
authored
Nov 13, 2017
by
Brandon Walts
Browse files
Added passthrough for PLENV_VERSION for running in a plenv environment
parent
788422e9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
server/server.go
server/server.go
+1
-0
No files found.
server/server.go
View file @
213b00b0
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment