From 4e0b68f6dd3fbb9ceb4bd42482f129cd16baeb73 Mon Sep 17 00:00:00 2001 From: Raito Bezarius Date: Mon, 13 Jan 2025 15:34:16 +0100 Subject: [PATCH] fix(sail): POSIX compliance for shebang script /bin/bash is not guaranteed to exist on all Linux distributions, NixOS does not have one. Prefer `/usr/bin/env` which should really (empirically) always exist. Signed-off-by: Raito Bezarius --- sail | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sail b/sail index 59d839d45..e09bab85e 100755 --- a/sail +++ b/sail @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash SAIL_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" export SAIL_DIR