chore: improve shebang portability

Since bash is not part of the POSIX specification, but /usr/bin/env is,
the package managers of some Linux distributions (such as NixOS) put
bash in a location other than /bin but do still have it in the path.
For this reason, calling env in this way improves portability and allows
the code to work unmodified on such distributions while continuing to
work on others.
This commit is contained in:
username-generic
2026-06-19 18:53:59 +02:00
committed by beroset
parent 7874bf2aed
commit 9be7778353

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#! /usr/bin/env bash
# Copyright (C) 2015 Florent Revest <revestflo@gmail.com>
#
# This program is free software; you can redistribute it and/or modify