patch-shebangs: fix dev detection

$output = $outputDev is the right condition. ${!outputDev} is only
useful if you want a path.
This commit is contained in:
Matthew Bauer 2019-02-08 20:48:50 -05:00
parent 61bc03c017
commit a1533dfc41

View File

@ -105,7 +105,7 @@ patchShebangsAuto () {
# Dev output will end up being run on the build platform. An
# example case of this is sdl2-config. Otherwise, we can just
# use the runtime path (--host).
if [ "$output" != out ] && [ "$output" = "${!outputDev}" ]; then
if [ "$output" != out ] && [ "$output" = "$outputDev" ]; then
patchShebangs --build "$prefix"
else
patchShebangs --host "$prefix"