diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-12-31 14:19:57 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-12-31 14:29:17 +1300 |
commit | 0c84989ca0b97ca1d075e7a304a407553e34381d (patch) | |
tree | 2188a585aef6ed345b1c575da6f63445baabf522 /bin/umake.sh | |
parent | Add clarifying comment (diff) | |
download | dotfiles-0c84989ca0b97ca1d075e7a304a407553e34381d.tar.gz dotfiles-0c84989ca0b97ca1d075e7a304a407553e34381d.zip |
Clarify control flow in shell scripts
Diffstat (limited to 'bin/umake.sh')
-rw-r--r-- | bin/umake.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/umake.sh b/bin/umake.sh index 21073328..3c381e09 100644 --- a/bin/umake.sh +++ b/bin/umake.sh @@ -2,7 +2,8 @@ # any given args while [ "$PWD" != / ] ; do for mf in makefile Makefile ; do - [ -f "$mf" ] && exec make "$@" + [ -f "$mf" ] || continue + exec make "$@" done cd .. || exit done |