about summary refs log tree commit diff
path: root/pkgs/build-support/setup-hooks
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2018-09-10 14:52:38 -0500
committerGitHub <noreply@github.com>2018-09-10 14:52:38 -0500
commite258c8d8ddd954a1c65e233ebb1e7b36bc312eb3 (patch)
treeb5ba36c171b27e891701d0516aa5bf26aaf1bc8f /pkgs/build-support/setup-hooks
parentf88192950fdd18872749d5474cebd3d47071a343 (diff)
parent383de74f883ab544ef2c9811f5735592160a765d (diff)
downloadnixlib-e258c8d8ddd954a1c65e233ebb1e7b36bc312eb3.tar
nixlib-e258c8d8ddd954a1c65e233ebb1e7b36bc312eb3.tar.gz
nixlib-e258c8d8ddd954a1c65e233ebb1e7b36bc312eb3.tar.bz2
nixlib-e258c8d8ddd954a1c65e233ebb1e7b36bc312eb3.tar.lz
nixlib-e258c8d8ddd954a1c65e233ebb1e7b36bc312eb3.tar.xz
nixlib-e258c8d8ddd954a1c65e233ebb1e7b36bc312eb3.tar.zst
nixlib-e258c8d8ddd954a1c65e233ebb1e7b36bc312eb3.zip
Merge pull request #45698 from kamilchm/filename-in-usnupported-shebang-error
Show the filename on unsupported shebang error
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 0c61813f743d..8fecf519e1aa 100644
--- a/pkgs/build-support/setup-hooks/patch-shebangs.sh
+++ b/pkgs/build-support/setup-hooks/patch-shebangs.sh
@@ -62,7 +62,7 @@ patchShebangs() {
             # - options: something starting with a '-'
             # - environment variables: foo=bar
             if $(echo "$arg0" | grep -q -- "^-.*\|.*=.*"); then
-                echo "unsupported interpreter directive \"$oldInterpreterLine\" (set dontPatchShebangs=1 and handle shebang patching yourself)"
+                echo "$f: unsupported interpreter directive \"$oldInterpreterLine\" (set dontPatchShebangs=1 and handle shebang patching yourself)"
                 exit 1
             fi