Fix reinitialization test.

This commit is contained in:
Raphael Reitzig 2019-11-05 03:37:16 +01:00
parent 04a8c8574a
commit 415c2a0bb2
2 changed files with 12 additions and 11 deletions

View file

@ -16,7 +16,7 @@ begin
end
begin
set SDKMAN_DIR "/" # belongs to root, who hopefully doesn't run this
set -x SDKMAN_DIR "/" # belongs to root, who hopefully doesn't run this
set in_new_shell (fish -lc 'echo $SDKMAN_DIR')
if [ "$in_new_shell" != "$proper_value" ]
echo "SDKMAN_DIR reinitialized to $in_new_shell instead of $proper_value"