File tree Expand file tree Collapse file tree 3 files changed +4
-6
lines changed
test_app/scripts/no_extension Expand file tree Collapse file tree 3 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -8,10 +8,6 @@ class Detective
8
8
# [Set<String>] Basenames of shell executables
9
9
SHELL_BASENAMES = Set . new ( %w[ bash sh ash dash ] ) . freeze
10
10
11
- # [Set<String>] Basenames of executables commonly used to +exec+ other
12
- # processes, including shells
13
- OTHER_BASENAMES = Set . new ( %w[ env ] ) . freeze
14
-
15
11
# [Set<String>] Filename extensions commonly used for shell scripts
16
12
SHELLSCRIPT_EXTENSIONS = Set . new ( %w[ .bash .sh ] ) . freeze
17
13
Original file line number Diff line number Diff line change 1
- #! /usr/bin/env bash -ex
1
+ #! /usr/bin/env bash
2
+
3
+ set -ex
2
4
3
5
if [ -z $INSTALL_BASH_VERSION ]; then
4
6
echo " No \$ INSTALL_BASH_VERSION, using default Bash"
Original file line number Diff line number Diff line change 1
- #! /usr/bin/env bash -eux
1
+ #! /usr/bin/env -S bash -eux
2
2
3
3
echo " Hello from /bin/bash -eux!"
You can’t perform that action at this time.
0 commit comments