From a1533dfc414961bb723937c111f5fe0925411f75 Mon Sep 17 00:00:00 2001 From: Matthew Bauer Date: Fri, 8 Feb 2019 20:48:50 -0500 Subject: patch-shebangs: fix dev detection $output = $outputDev is the right condition. ${!outputDev} is only useful if you want a path. --- pkgs/build-support/setup-hooks/patch-shebangs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkgs') diff --git a/pkgs/build-support/setup-hooks/patch-shebangs.sh b/pkgs/build-support/setup-hooks/patch-shebangs.sh index 441f230869b..c7497819799 100644 --- a/pkgs/build-support/setup-hooks/patch-shebangs.sh +++ b/pkgs/build-support/setup-hooks/patch-shebangs.sh @@ -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" -- cgit 1.4.1