Skip to content

Commit 2878a5f

Browse files
authored
Merge pull request #2916 to fix install_rms.sh
export RMS_BRANCH and RMS_SOURCE so vars exists inside Julia subprocess.
2 parents a35dd78 + b385bd0 commit 2878a5f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

install_rms.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
RMS_INSTALLER=${RMS_INSTALLER:-standard}
2222

2323
# RMS branch for standard or continuous installs. Set to "for_rmg" by default.
24-
RMS_BRANCH=${RMS_BRANCH:-for_rmg}
24+
export RMS_BRANCH=${RMS_BRANCH:-for_rmg}
2525

2626
# Get local RMS path if in developer mode
2727
if [ "$RMS_INSTALLER" = "developer" ]; then
@@ -37,6 +37,7 @@ if [ "$RMS_INSTALLER" = "developer" ]; then
3737
echo "Please set RMS_PATH to a valid ReactionMechanismSimulator.jl directory."
3838
return 1
3939
fi
40+
export RMS_PATH
4041
echo "Using local RMS path: $RMS_PATH"
4142
fi
4243

0 commit comments

Comments
 (0)