summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorAlex Hornburg <alexander.hornburg@xilinx.com>2022-09-27 20:32:42 +0100
committerGitHub <noreply@github.com>2022-09-27 12:32:42 -0700
commit67717c569edd5ade22309e3f87dd2b550db237e6 (patch)
treeed2fb7f4840050556592844b5272301332269bb9 /share
parentcb9f174a7f663e259907bfdf57b3109c158b6614 (diff)
downloadspack-67717c569edd5ade22309e3f87dd2b550db237e6.tar.gz
spack-67717c569edd5ade22309e3f87dd2b550db237e6.tar.bz2
spack-67717c569edd5ade22309e3f87dd2b550db237e6.tar.xz
spack-67717c569edd5ade22309e3f87dd2b550db237e6.zip
shell.py: fix undefined variable in csh deactivate (#32816)
This commit fixes #27027. The root cause of the issue is that the `SPACK_OLD_PROMPT` variable was evaluated in string interpolation regardless of whether the guard condition above evaluates to true or false. This commit uses the `eval` keyword to defer evaluation until the command is executed. Co-authored-by: Alexander Hornburg <alexande@xilinx.com>
Diffstat (limited to 'share')
0 files changed, 0 insertions, 0 deletions