From 9be7778353cef02bf99cb17d9809a9a6ccb690cf Mon Sep 17 00:00:00 2001 From: username-generic Date: Fri, 19 Jun 2026 18:53:59 +0200 Subject: [PATCH] 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. --- prepare-build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prepare-build.sh b/prepare-build.sh index ad0432e..ab9e3b2 100755 --- a/prepare-build.sh +++ b/prepare-build.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#! /usr/bin/env bash # Copyright (C) 2015 Florent Revest # # This program is free software; you can redistribute it and/or modify