Skip to content

Commit 5d2727f

Browse files
authored
fix: Use shebang #!/usr/bin/env bash (#418)
1 parent e15ad82 commit 5d2727f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+54
-54
lines changed

tests/README

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,10 +125,10 @@ Writing Tests
125125
-------------
126126

127127
The test script is written as a shell script. It should start
128-
with the standard "#!/bin/bash" with copyright notices, and an
128+
with the standard "#!/usr/bin/env bash" with copyright notices, and an
129129
assignment to variable 'test_description', like this:
130130

131-
#!/bin/bash
131+
#!/usr/bin/env bash
132132
#
133133
# Copyright (c) 2005 Junio C Hamano
134134
#

tests/actions-test-lib.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
make_dummy_action()
44
{

tests/aggregate-results.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
[ "x$TERM" != "xdumb" ] && (
44
export TERM &&

tests/t0000-config.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
test_description='todo.sh configuration file location
44

tests/t0001-null.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
test_description='todo.sh basic null functionality test.
44

tests/t0002-actions.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
test_description='todo.sh actions.d
44

tests/t0100-code-nobacktick.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
test_description='no old-style backtick command substitution
44

tests/t1000-addlist.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
test_description='basic add and list functionality
44

tests/t1010-add-date.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
test_description='test the date on add feature
44

tests/t1020-addtolistfile.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
test_description='basic addto and list functionality
44

0 commit comments

Comments
 (0)