Skip to content

Commit fc899f3

Browse files
committed
1 parent 5941f56 commit fc899f3

Some content is hidden

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

73 files changed

+84
-84
lines changed

bin/argbash

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
# shellcheck disable=SC2016,SC2059
44
# SC2016: Expressions don't expand in single quotes, use double quotes for that.

bin/argbash-1to2

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
# shellcheck disable=SC2016
44
# SC2016: Expressions don't expand in single quotes, use double quotes for that.

bin/argbash-init

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
# shellcheck disable=SC2001,SC2016
44
# SC2001: See if you can use ${variable//search/replace} instead.
@@ -297,7 +297,7 @@ positional_argument()
297297

298298
do_header()
299299
{
300-
echo "#!/bin/bash"
300+
echo "#!/usr/bin/env bash"
301301
echo
302302
# We if separate == 2, we don't want to pass this to argbash at all
303303
test "$_arg_separate" = 2 && test "$1" = "script" && echo "# Created by argbash-init v$version" && return

docker/README.md

Lines changed: 2 additions & 2 deletions

resources/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ develop: $(ARGBASH_TO)
139139
@echo Installing to prefix "'/$(PREFIX)' of root $(ROOT)"
140140
mkdir -p "$(ROOT)/$(PREFIX)/bin"
141141
touch "$(ROOT)/$(PREFIX)/bin/argbash" && rm "$(ROOT)/$(PREFIX)/bin/argbash"
142-
echo '#!/bin/bash' > "$(ROOT)/$(PREFIX)/bin/argbash"
142+
echo '#!/usr/bin/env bash' > "$(ROOT)/$(PREFIX)/bin/argbash"
143143
echo '$(abspath $(ROOT_DIR)/$(GENPARSE)) "$$@"' >> "$(ROOT)/$(PREFIX)/bin/argbash"
144144
chmod a+x "$(ROOT)/$(PREFIX)/bin/argbash"
145145
test -z "$(ARGBASH_TO)" || ln -s $(abspath $(ARGBASH_TO)) "$(ROOT)/$(PREFIX)/bin"

resources/examples/minimal-raw.m4

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
# m4_ignore(
44
echo "This is just a script template, not the script (yet) - pass it to 'argbash' to fix this." >&2

resources/examples/minimal.m4

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
# m4_ignore(
44
echo "This is just a script template, not the script (yet) - pass it to 'argbash' to fix this." >&2

resources/examples/simple-parsing.m4

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
# ARG_POSITIONAL_SINGLE([filename])
44
# ARG_OPTIONAL_SINGLE([unit], u, [What unit we accept (b for bytes, k for kibibytes, M for mebibytes)], b)

resources/examples/simple-parsing.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
# ARG_POSITIONAL_SINGLE([filename])
44
# ARG_OPTIONAL_SINGLE([unit],[u],[What unit we accept (b for bytes, k for kibibytes, M for mebibytes)],[b])

resources/examples/simple-standalone.m4

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
# ARG_POSITIONAL_SINGLE([filename])
44
# ARG_OPTIONAL_SINGLE([unit], u, [What unit we accept (b for bytes, k for kilobytes, M for megabytes)], b)

0 commit comments

Comments
 (0)