summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeverin Strobl <severin.strobl@dlr.de>2021-02-19 00:29:23 +0100
committerGitHub <noreply@github.com>2021-02-18 23:29:23 +0000
commit0da2b82df230b25883709287c4ef217029c22a7f (patch)
treea660320681f4bf0397894be933715fa6764a2000
parent70b81dc48d6e5c04cadbcf2b05c45fdda89a6e66 (diff)
downloadspack-0da2b82df230b25883709287c4ef217029c22a7f.tar.gz
spack-0da2b82df230b25883709287c4ef217029c22a7f.tar.bz2
spack-0da2b82df230b25883709287c4ef217029c22a7f.tar.xz
spack-0da2b82df230b25883709287c4ef217029c22a7f.zip
Fixed conditional in match_flag for fish env (#21679)
An attempt to fix the conditional was made in 5a771bc8ad, yet this broke the conditional completely.
-rwxr-xr-xshare/spack/setup-env.fish2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/spack/setup-env.fish b/share/spack/setup-env.fish
index d95b08ea9f..7bbc8f8485 100755
--- a/share/spack/setup-env.fish
+++ b/share/spack/setup-env.fish
@@ -253,7 +253,7 @@ function match_flag -d "checks all combinations of flags ocurring inside of a st
set -l _a (string sub -s 2 (string trim "x$argv[1]"))
set -l _b (string sub -s 2 (string trim "x$argv[2]"))
- if test -z "$_a" or test -z "$_b"
+ if test -z "$_a"; or test -z "$_b"
return 0
end