]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
SCRIPTS: use /usr/bin/env bash instead of /bin/bash for scripts
authorWilly Tarreau <w@1wt.eu>
Wed, 5 Feb 2020 03:45:18 +0000 (04:45 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 5 Feb 2020 03:49:07 +0000 (04:49 +0100)
Given that some OSes have bash in /usr/local/bin and in order not to
give too easy an excuse to Olivier for not backporting fixes, let's
make a few scripts rely on /usr/bin/env bash instead of /bin/bash :-)

scripts/announce-release
scripts/backport
scripts/create-release
scripts/git-show-backports
scripts/publish-release

index 972d6ea937dfb65328ff11261817d0db38b6e4b7..3e0d1e35649cccc0b80cc3ef284274776dcf4da9 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 # prepares a template e-mail and HTML file to announce a new release
 # Copyright (c) 2006-2016 Willy Tarreau <w@1wt.eu>
 #
index c87665136eba420c18266c81244547fc9576e3ac..28a06038e61dcafb85b8008d19ab43c6b61bd395 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 USAGE="Usage: ${0##*/} <last> <commit> [...]"
 START="$PWD"
index 8a8e05d69fc9e80f7fa6b39b38b5a27fd80d7614..bc87e82c3a97771b705421989c6b54e5cf9bdcc6 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 # creates a new haproxy release at the current commit
 # Copyright (c) 2006-2016 Willy Tarreau <w@1wt.eu>
 #
index 0fad6c1e5f92083226eff49b72b82d5dc2751263..4c6ccee76f5d08a7ac79ec536c042daddaa9e364 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 #
 # Compares multiple branches against a reference and shows which ones contain
 # each commit, and the level of backports since the origin or its own ancestors.
index 6a615a6f1adf4b19ec6046c5419ea46a128c6bf3..5a9a5cead049906aa8ac7d87c169a81511c27e5c 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 # puts the public files online after a release
 # Copyright (c) 2006-2016 Willy Tarreau <w@1wt.eu>
 #