Skip to content

Commit 0215ba5

Browse files
committed
fix: bug with hpctoolkit overwriting env. vars. in its bashrc
1 parent 7aba1f2 commit 0215ba5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

basic/hpctoolkit.def

+2-2
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,8 @@ From: containers/basic/{{ BASE_CONTAINER }}.sif
8686
meson compile -C build
8787
meson install -C build
8888
echo "export JAVA_HOME=${JAVA_HOME}" > /opt/hpctoolkit/bashrc
89-
echo "export PATH=${PATH}:${JAVA_HOME}/bin:/opt/hpcviewer" >> /opt/hpctoolkit/bashrc
90-
echo "export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/lib64" >> /opt/hpctoolkit/bashrc
89+
echo 'export PATH=${PATH}:${JAVA_HOME}/bin:/opt/hpcviewer' >> /opt/hpctoolkit/bashrc
90+
echo 'export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/lib64' >> /opt/hpctoolkit/bashrc
9191
jq --arg app hpctoolkit --arg commit {{ FRAMEWORK_GIT_REF }} \
9292
--arg branch {{ FRAMEWORK_GIT_REF }} \
9393
'.[$app] |= if . == null then

0 commit comments

Comments
 (0)