commit:     9c0d5b2fbee5650e7c38afe2ca31fffc976fbc48
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue May  3 22:18:37 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue May  3 22:31:36 2022 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=9c0d5b2f

Documentation/maintainers: use #!/usr/bin/env bash shebang

Some rely on Bashisms and let's be consistent.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 Documentation/maintainers/bump-from-set.sh       | 2 +-
 Documentation/maintainers/find_unused_patches.sh | 2 +-
 Documentation/maintainers/kde-l10n-fetch.sh      | 1 +
 Documentation/maintainers/kde-l10n-repack.sh     | 2 +-
 Documentation/maintainers/keywords-bump.sh       | 2 +-
 Documentation/maintainers/repack.sh              | 2 +-
 Documentation/maintainers/set-bump.sh            | 2 +-
 Documentation/maintainers/sync-gentoo-overlay.sh | 2 +-
 Documentation/maintainers/sync-metadata.sh       | 2 +-
 9 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/Documentation/maintainers/bump-from-set.sh 
b/Documentation/maintainers/bump-from-set.sh
index 4d44f42017..f92fa99306 100755
--- a/Documentation/maintainers/bump-from-set.sh
+++ b/Documentation/maintainers/bump-from-set.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 
 # Requires:
 # app-portage/portage-utils

diff --git a/Documentation/maintainers/find_unused_patches.sh 
b/Documentation/maintainers/find_unused_patches.sh
index 34ed762501..42730713c8 100755
--- a/Documentation/maintainers/find_unused_patches.sh
+++ b/Documentation/maintainers/find_unused_patches.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 TMP="/tmp/"
 CATEGORY="kde-apps"
 # we also assume that we are run from the directory where we want to remove 
patches eg. directory where are categories.

diff --git a/Documentation/maintainers/kde-l10n-fetch.sh 
b/Documentation/maintainers/kde-l10n-fetch.sh
index 521198fbe7..9cdd8e2b76 100755
--- a/Documentation/maintainers/kde-l10n-fetch.sh
+++ b/Documentation/maintainers/kde-l10n-fetch.sh
@@ -1,3 +1,4 @@
+#!/usr/bin/env bash
 LANGS="af ar be bg bn bn_IN br ca cs csb cy da de el en_GB eo es et eu fa fi fr
        fy ga gl gu he hi hr hsb hu hy is it ja ka kk km kn ko ku lb lt lv mk ml
        ms mt nb nds ne nl nn nso oc pa pl pt pt_BR ro ru rw se sk sl sr sv ta 
te tg

diff --git a/Documentation/maintainers/kde-l10n-repack.sh 
b/Documentation/maintainers/kde-l10n-repack.sh
index 33c126a690..5a0d73c464 100755
--- a/Documentation/maintainers/kde-l10n-repack.sh
+++ b/Documentation/maintainers/kde-l10n-repack.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/usr/bin/env bash
 KDEVER=$1
 SVNREV=$2
 

diff --git a/Documentation/maintainers/keywords-bump.sh 
b/Documentation/maintainers/keywords-bump.sh
index 31fd6698c4..0e57a9578b 100755
--- a/Documentation/maintainers/keywords-bump.sh
+++ b/Documentation/maintainers/keywords-bump.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/usr/bin/env bash
 
 : ${PORTDIR:="$(pwd)"}
 

diff --git a/Documentation/maintainers/repack.sh 
b/Documentation/maintainers/repack.sh
index 8a2b4ffa07..066d799ce4 100755
--- a/Documentation/maintainers/repack.sh
+++ b/Documentation/maintainers/repack.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/usr/bin/env bash
 # Script to repack upstream tarballs
 #
 SVNREV=$2

diff --git a/Documentation/maintainers/set-bump.sh 
b/Documentation/maintainers/set-bump.sh
index d5a0fd7206..43963efcc8 100755
--- a/Documentation/maintainers/set-bump.sh
+++ b/Documentation/maintainers/set-bump.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/usr/bin/env bash
 
 # requires app-portage/portage-utils and app-portage/gentoolkit-dev
 

diff --git a/Documentation/maintainers/sync-gentoo-overlay.sh 
b/Documentation/maintainers/sync-gentoo-overlay.sh
index 3172dfa203..37fd36fbdc 100755
--- a/Documentation/maintainers/sync-gentoo-overlay.sh
+++ b/Documentation/maintainers/sync-gentoo-overlay.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 # Run this script via cronjob to update your overlay mirror
 

diff --git a/Documentation/maintainers/sync-metadata.sh 
b/Documentation/maintainers/sync-metadata.sh
index d02fee4c37..fcc699913b 100755
--- a/Documentation/maintainers/sync-metadata.sh
+++ b/Documentation/maintainers/sync-metadata.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 # Contact: devurandom
 METADATA_MIRROR=rsync://gentoo.kynes.de:800/gentoo-overlay-kde/metadata/cache/

Reply via email to