diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-12-06 14:25:39 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-12-06 14:26:06 +1300 |
commit | 0c4bf7de3604eeb00e2cf590867d43ceb2f0f85d (patch) | |
tree | 124ccc28400bfa078f0a701e6610cbba9564a710 /bin/mkvi.sh | |
parent | Substitute bad `continue` for `return` (diff) | |
download | dotfiles-0c4bf7de3604eeb00e2cf590867d43ceb2f0f85d.tar.gz dotfiles-0c4bf7de3604eeb00e2cf590867d43ceb2f0f85d.zip |
Remove unneeded semicolon from sh "for VAR ; do"
It turns out the semicolon belongs to the "in" syntax, and is optional
without it.
Diffstat (limited to 'bin/mkvi.sh')
-rw-r--r-- | bin/mkvi.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/mkvi.sh b/bin/mkvi.sh index 244b89f8..c5974383 100644 --- a/bin/mkvi.sh +++ b/bin/mkvi.sh @@ -1,6 +1,6 @@ #!/bin/sh # Create paths to all files before invoking editor -for file ; do +for file do mkdir -p -- "${file%/*}" || exit done exec "$VISUAL" "$@" |