Use #!/usr/bin/env for bash shebangs.

/bin/sh and /usr/bin/env are the only two binaries that NixOS provides
at a fixed path (outside a buildFHSUserEnv sandbox).

This discussion was split from #11004.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
This commit is contained in:
Anders Kaseorg
2018-12-17 17:08:53 -08:00
parent 66c02e4dc7
commit 392175d6e8
44 changed files with 52 additions and 47 deletions

View File

@@ -1,2 +1,2 @@
#!/bin/bash
#!/usr/bin/env bash
"$(dirname "$0")/lib/upgrade-zulip" "$@" 2>&1 | tee -a /var/log/zulip/upgrade.log