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:
parent
61bc03c017
commit
a1533dfc41
|
@ -105,7 +105,7 @@ patchShebangsAuto () {
|
||||||
# Dev output will end up being run on the build platform. An
|
# Dev output will end up being run on the build platform. An
|
||||||
# example case of this is sdl2-config. Otherwise, we can just
|
# example case of this is sdl2-config. Otherwise, we can just
|
||||||
# use the runtime path (--host).
|
# use the runtime path (--host).
|
||||||
if [ "$output" != out ] && [ "$output" = "${!outputDev}" ]; then
|
if [ "$output" != out ] && [ "$output" = "$outputDev" ]; then
|
||||||
patchShebangs --build "$prefix"
|
patchShebangs --build "$prefix"
|
||||||
else
|
else
|
||||||
patchShebangs --host "$prefix"
|
patchShebangs --host "$prefix"
|
||||||
|
|
Loading…
Reference in a new issue