Skip to content

Commit 7243bfb

Browse files
Merge pull request #6616 from MetRonnie/wrapper
Wrapper script: fix `PATH` override preventing selection of Cylc version in GUI under Cylc Hub
2 parents 21d18ba + 185003f commit 7243bfb

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

changes.d/6616.fix.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fixed wrapper script `PATH` override preventing selection of Cylc version in the GUI when running Cylc Hub.

cylc/flow/etc/cylc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ fi
174174

175175
# Set PATH when running cylc hub so that configurable-http-proxy can find node
176176
if [[ ${0##*/} == "cylc" && ${1:-} == "hub" ]]; then
177-
PATH=${CYLC_HOME}/bin:${PATH}
177+
PATH=${PATH}:${CYLC_HOME}/bin
178178
fi
179179

180180
# Run the executable from the selected installation.

0 commit comments

Comments
 (0)