Shell quoting is difficult
This commit is contained in:
parent
a06e29fecb
commit
9868333e8e
2
lib/spack/env/cc
vendored
2
lib/spack/env/cc
vendored
@ -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,}"
|
||||
|
Loading…
Reference in New Issue
Block a user