diff options
| author | Joel Martin <github@martintribe.org> | 2015-02-10 20:57:56 -0600 |
|---|---|---|
| committer | Joel Martin <github@martintribe.org> | 2015-02-10 20:57:56 -0600 |
| commit | 2ffb2af827faf4df00a93761b9e4f5948738d63f (patch) | |
| tree | b27108f7dafcbcb882ecd247c60216ba1d9bcc09 /bash | |
| parent | 8a9d0a8a41a176cb0e3bf6cbac70b21e9d983e2a (diff) | |
| parent | c97af215258bcc71ecc0e01a0d78794018be4ecf (diff) | |
| download | mal-2ffb2af827faf4df00a93761b9e4f5948738d63f.tar.gz mal-2ffb2af827faf4df00a93761b9e4f5948738d63f.zip | |
Merge pull request #5 from alandipert/master
bash: use env in shebang
Diffstat (limited to 'bash')
| -rw-r--r-- | bash/Makefile | 2 | ||||
| -rwxr-xr-x | bash/step0_repl.sh | 2 | ||||
| -rwxr-xr-x | bash/step1_read_print.sh | 2 | ||||
| -rwxr-xr-x | bash/step2_eval.sh | 2 | ||||
| -rwxr-xr-x | bash/step3_env.sh | 2 | ||||
| -rwxr-xr-x | bash/step4_if_fn_do.sh | 2 | ||||
| -rwxr-xr-x | bash/step5_tco.sh | 2 | ||||
| -rwxr-xr-x | bash/step6_file.sh | 2 | ||||
| -rwxr-xr-x | bash/step7_quote.sh | 2 | ||||
| -rwxr-xr-x | bash/step8_macros.sh | 2 | ||||
| -rwxr-xr-x | bash/step9_try.sh | 2 | ||||
| -rwxr-xr-x | bash/stepA_interop.sh | 2 |
12 files changed, 12 insertions, 12 deletions
diff --git a/bash/Makefile b/bash/Makefile index df663b5..5028788 100644 --- a/bash/Makefile +++ b/bash/Makefile @@ -6,7 +6,7 @@ all: mal.sh mal.sh: $(SOURCES) cat $+ > $@ - echo "#!/bin/bash" > $@ + echo "#!/usr/bin/env bash" > $@ cat $+ | grep -v "^source " >> $@ chmod +x $@ diff --git a/bash/step0_repl.sh b/bash/step0_repl.sh index 261ecc2..8e1fff0 100755 --- a/bash/step0_repl.sh +++ b/bash/step0_repl.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash READ () { read -u 0 -e -p "user> " r diff --git a/bash/step1_read_print.sh b/bash/step1_read_print.sh index 3f6c551..881c0c3 100755 --- a/bash/step1_read_print.sh +++ b/bash/step1_read_print.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash source $(dirname $0)/reader.sh source $(dirname $0)/printer.sh diff --git a/bash/step2_eval.sh b/bash/step2_eval.sh index b59320b..54c645b 100755 --- a/bash/step2_eval.sh +++ b/bash/step2_eval.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash source $(dirname $0)/reader.sh source $(dirname $0)/printer.sh diff --git a/bash/step3_env.sh b/bash/step3_env.sh index d924b03..f00a6cd 100755 --- a/bash/step3_env.sh +++ b/bash/step3_env.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash source $(dirname $0)/reader.sh source $(dirname $0)/printer.sh diff --git a/bash/step4_if_fn_do.sh b/bash/step4_if_fn_do.sh index dd0db03..fdd8ded 100755 --- a/bash/step4_if_fn_do.sh +++ b/bash/step4_if_fn_do.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash source $(dirname $0)/reader.sh source $(dirname $0)/printer.sh diff --git a/bash/step5_tco.sh b/bash/step5_tco.sh index f282e44..cee2763 100755 --- a/bash/step5_tco.sh +++ b/bash/step5_tco.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash source $(dirname $0)/reader.sh source $(dirname $0)/printer.sh diff --git a/bash/step6_file.sh b/bash/step6_file.sh index c655853..e8c3bce 100755 --- a/bash/step6_file.sh +++ b/bash/step6_file.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash source $(dirname $0)/reader.sh source $(dirname $0)/printer.sh diff --git a/bash/step7_quote.sh b/bash/step7_quote.sh index 2f2e67e..1952c99 100755 --- a/bash/step7_quote.sh +++ b/bash/step7_quote.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash source $(dirname $0)/reader.sh source $(dirname $0)/printer.sh diff --git a/bash/step8_macros.sh b/bash/step8_macros.sh index 51d83bd..0503ca9 100755 --- a/bash/step8_macros.sh +++ b/bash/step8_macros.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash source $(dirname $0)/reader.sh source $(dirname $0)/printer.sh diff --git a/bash/step9_try.sh b/bash/step9_try.sh index 85698b4..775e0dd 100755 --- a/bash/step9_try.sh +++ b/bash/step9_try.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash source $(dirname $0)/reader.sh source $(dirname $0)/printer.sh diff --git a/bash/stepA_interop.sh b/bash/stepA_interop.sh index 9a760e4..7b43496 100755 --- a/bash/stepA_interop.sh +++ b/bash/stepA_interop.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash source $(dirname $0)/reader.sh source $(dirname $0)/printer.sh |
