From 2e96808416f55068cfa6cf5e0bf3d4cd377cd044 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 57e669c..5940a46 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