set -e
This commit is contained in:
parent
3bd6d3b678
commit
f79ae073f7
2 changed files with 5 additions and 0 deletions
|
@ -1,4 +1,7 @@
|
||||||
#!/usr/bin/env zsh
|
#!/usr/bin/env zsh
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
# MacOS support - prefer GNU sed eg. from Homebrew to 'sed'
|
# MacOS support - prefer GNU sed eg. from Homebrew to 'sed'
|
||||||
if command -v gsed &>/dev/null; then
|
if command -v gsed &>/dev/null; then
|
||||||
gsed "$@"
|
gsed "$@"
|
||||||
|
|
2
goto
2
goto
|
@ -1,5 +1,7 @@
|
||||||
#!/usr/bin/env zsh
|
#!/usr/bin/env zsh
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
: "${1:=--help}"
|
: "${1:=--help}"
|
||||||
|
|
||||||
case "$1" in
|
case "$1" in
|
||||||
|
|
Loading…
Reference in a new issue