Shell quoting is difficult
This commit is contained in:
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,}"
|
||||
|
Reference in New Issue
Block a user