diff options
author | Erik Schnetter <schnetter@gmail.com> | 2016-02-14 11:34:08 -0500 |
---|---|---|
committer | Erik Schnetter <schnetter@gmail.com> | 2016-02-14 11:34:08 -0500 |
commit | 9868333e8e2586ffc55ee996a48ef62601a9c874 (patch) | |
tree | f67d37439c3f68a7c5b2dd66fd71a7288c3be92f /lib | |
parent | a06e29fecbaf100f089c1eab7c6447cd469b95f6 (diff) | |
download | spack-9868333e8e2586ffc55ee996a48ef62601a9c874.tar.gz spack-9868333e8e2586ffc55ee996a48ef62601a9c874.tar.bz2 spack-9868333e8e2586ffc55ee996a48ef62601a9c874.tar.xz spack-9868333e8e2586ffc55ee996a48ef62601a9c874.zip |
Shell quoting is difficult
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/spack/env/cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/env/cc b/lib/spack/env/cc index 853a19dfdd..c3d1135722 100755 --- a/lib/spack/env/cc +++ b/lib/spack/env/cc @@ -188,7 +188,7 @@ while [ -n "$1" ]; do done elif [[ $arg == '-rpath' ]]; then shift; arg="$1" - if [[ $arg != "-Wl,*" ]]; then + if [[ $arg != '-Wl,'* ]]; then die "-Wl,-rpath was not followed by -Wl,*" fi arg="${arg#-Wl,}" |