Use portable shebangs in wrapper scripts (#79)

This is the recommended approach and it's necessary on systems like NixOS.

See: https://web.archive.org/web/20220617225709/https://unix.stackexchange.com/questions/29608/why-is-it-better-to-use-usr-bin-env-name-instead-of-path-to-name-as-my
This commit is contained in:
izzues
2022-06-22 14:37:10 -03:00
committed by GitHub
parent fd7bd09bda
commit 0b3d593bfd
14 changed files with 17 additions and 17 deletions

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Find the directory of this script
dir=${0%/*}