Shell quoting is difficult
This commit is contained in:
parent
a06e29fecb
commit
9868333e8e
1 changed files with 1 additions and 1 deletions
2
lib/spack/env/cc
vendored
2
lib/spack/env/cc
vendored
|
@ -188,7 +188,7 @@ while [ -n "$1" ]; do
|
||||||
done
|
done
|
||||||
elif [[ $arg == '-rpath' ]]; then
|
elif [[ $arg == '-rpath' ]]; then
|
||||||
shift; arg="$1"
|
shift; arg="$1"
|
||||||
if [[ $arg != "-Wl,*" ]]; then
|
if [[ $arg != '-Wl,'* ]]; then
|
||||||
die "-Wl,-rpath was not followed by -Wl,*"
|
die "-Wl,-rpath was not followed by -Wl,*"
|
||||||
fi
|
fi
|
||||||
arg="${arg#-Wl,}"
|
arg="${arg#-Wl,}"
|
||||||
|
|
Loading…
Reference in a new issue