X Tutup
Skip to content

Commit f1e6f93

Browse files
Change all fixed-path bash shebangs to /u/b/env bash outside test/
1 parent 2e081f1 commit f1e6f93

File tree

11 files changed

+13
-12
lines changed

11 files changed

+13
-12
lines changed

.github/workflows/build_test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22
# SPDX-License-Identifier: LGPL-2.1-or-later
33

44
set -ex

.github/workflows/run_mkosi.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22
# SPDX-License-Identifier: LGPL-2.1-or-later
33
# shellcheck disable=SC2064
44

.github/workflows/unit_tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22
# SPDX-License-Identifier: LGPL-2.1-or-later
33

44
# shellcheck disable=SC2206

.semaphore/semaphore-runner.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22
# SPDX-License-Identifier: LGPL-2.1-or-later
33

44
set -eux

coccinelle/run-coccinelle.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
#!/bin/bash -e
1+
#!/usr/bin/env bash
22
# SPDX-License-Identifier: LGPL-2.1-or-later
3+
set -e
34

45
# Exclude following paths from the Coccinelle transformations
56
EXCLUDED_PATHS=(

man/50-xdg-data-dirs.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
#!/bin/bash
1+
#!/bin/sh
22
# SPDX-License-Identifier: CC0-1.0
33

44
# set the default value
55
XDG_DATA_DIRS="${XDG_DATA_DIRS:-/usr/local/share/:/usr/share}"
66

77
# add a directory if it exists
8-
if [[ -d /opt/foo/share ]]; then
8+
if [ -d /opt/foo/share ]; then
99
XDG_DATA_DIRS="/opt/foo/share:${XDG_DATA_DIRS}"
1010
fi
1111

src/basic/check-filesystems.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22
# SPDX-License-Identifier: LGPL-2.1-or-later
33
set -eu
44
set -o pipefail

src/rpm/systemd-update-helper.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22
# SPDX-License-Identifier: LGPL-2.1-or-later
33
set -eu
44
set -o pipefail

tools/check-api-docs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22
# SPDX-License-Identifier: LGPL-2.1-or-later
33
set -eu
44
set -o pipefail

tools/check-help.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22
# SPDX-License-Identifier: LGPL-2.1-or-later
33
set -eu
44
set -o pipefail

0 commit comments

Comments
 (0)
X Tutup