Skip to content

Commit 7f3fff7

Browse files
committed
Use /usr/bin/env
1 parent 00eddc3 commit 7f3fff7

File tree

10 files changed

+10
-10
lines changed

10 files changed

+10
-10
lines changed

ninja/misc/packaging/rpmbuild.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

33
echo Building ninja RPMs..
44
GITROOT=$(git rev-parse --show-toplevel)

rewatch/tests/compile.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
cd $(dirname $0)
33
source "./utils.sh"
44
cd ../testrepo

rewatch/tests/suite-ci.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

33
unset CLICOLOR_FORCE
44

rewatch/tests/suite.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22
cd $(dirname $0)
33
./suite-ci.sh

rewatch/tests/utils.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
overwrite() { echo -e "\r\033[1A\033[0K$@"; }
33
success() { echo -e "- ✅ \033[32m$1\033[0m"; }
44
error() { echo -e "- 🛑 \033[31m$1\033[0m"; }

scripts/buildRuntime.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
set -e
33
shopt -s extglob
44

scripts/buildRuntimeLegacy.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
set -e
33
shopt -s extglob
44

scripts/format.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

33
shopt -s extglob
44

scripts/format_check.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

33
shopt -s extglob
44

scripts/test_syntax.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

33
# Note:
44
# 1. This was converted from zsh to bash because zsh is not available on Linux and Windows Github action runners.

0 commit comments

Comments
 (0)