summary refs log tree commit diff
path: root/pkgs/build-support/setup-hooks
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2019-02-08 20:48:50 -0500
committerMatthew Bauer <mjbauer95@gmail.com>2019-04-26 21:54:48 -0400
commita1533dfc414961bb723937c111f5fe0925411f75 (patch)
tree00d4012931485c7a830791c06c1f7c81befebc04 /pkgs/build-support/setup-hooks
parent61bc03c017f18e2fe54d209ae8ba8a42033b9564 (diff)
downloadnixpkgs-a1533dfc414961bb723937c111f5fe0925411f75.tar
nixpkgs-a1533dfc414961bb723937c111f5fe0925411f75.tar.gz
nixpkgs-a1533dfc414961bb723937c111f5fe0925411f75.tar.bz2
nixpkgs-a1533dfc414961bb723937c111f5fe0925411f75.tar.lz
nixpkgs-a1533dfc414961bb723937c111f5fe0925411f75.tar.xz
nixpkgs-a1533dfc414961bb723937c111f5fe0925411f75.tar.zst
nixpkgs-a1533dfc414961bb723937c111f5fe0925411f75.zip
patch-shebangs: fix dev detection
$output = $outputDev is the right condition. ${!outputDev} is only
useful if you want a path.
Diffstat (limited to 'pkgs/build-support/setup-hooks')
-rw-r--r--pkgs/build-support/setup-hooks/patch-shebangs.sh2
1 files changed, 1 insertions, 1 deletions
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"