Fail early if any subcommand fails or if an udefined var is used
I like my shell scripts to be paranoid.
This commit is contained in:
parent
433cd78f65
commit
a1ef133501
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/bin/bash -eu
|
||||
|
||||
if (uname | grep -i "cygwin"); then
|
||||
# This should be the default for most of cases;
|
||||
|
|
Loading…
Reference in New Issue