From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail.zeus.flokli.de ([88.198.15.28] helo=zeus.flokli.de) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1idCnT-0006HZ-GC for barebox@lists.infradead.org; Fri, 06 Dec 2019 12:33:24 +0000 From: Florian Klink Date: Fri, 6 Dec 2019 13:32:54 +0100 Message-Id: <20191206123255.2537-4-flokli@flokli.de> In-Reply-To: <20191206123255.2537-1-flokli@flokli.de> References: <20191206113100.yeop7bqjvolfujl2@pengutronix.de> <20191206123255.2537-1-flokli@flokli.de> MIME-Version: 1.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH v3 3/4] docs: use #!/usr/bin/env bash shebang instead of #!/bin/bash To: barebox@lists.infradead.org Cc: Florian Klink Some distributions might not have bash in /bin, but in $PATH. Using #!/usr/bin/env bash solves this, and is consistent with how the perl and python shebangs look like in the tree. Signed-off-by: Florian Klink --- Documentation/user/usb.rst | 2 +- MAKEALL | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/user/usb.rst b/Documentation/user/usb.rst index 029e46354..4c1b2925f 100644 --- a/Documentation/user/usb.rst +++ b/Documentation/user/usb.rst @@ -172,7 +172,7 @@ and initrd: .. code-block:: sh - #!/bin/bash + #!/usr/bin/env bash set -e set -v diff --git a/MAKEALL b/MAKEALL index 909e170b1..3548739e3 100755 --- a/MAKEALL +++ b/MAKEALL @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Print statistics when we exit trap exit 1 2 3 15 -- 2.24.0 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox