From 7f85e9670f805f0405c54d09202dc9d5164a3697 Mon Sep 17 00:00:00 2001 From: Matthieu Coudron <886074+teto@users.noreply.github.com> Date: Sun, 5 Nov 2023 16:53:57 +0100 Subject: [PATCH] patch shebang to support more platforms /bin/bash doesn't exist on the linux distribution nixos, a common pattern to find the interpreter is to rely on /usr/bin/env in shebang https://unix.stackexchange.com/questions/29608/why-is-it-better-to-use-usr-bin-env-name-instead-of-path-to-name-as-my/77586#77586 --- run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run.sh b/run.sh index bd5b32e..b3b7eae 100755 --- a/run.sh +++ b/run.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Check if docker compose is installed if ! command -v docker &> /dev/null