diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2013-08-13 18:30:48 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2013-08-13 18:30:48 +1200 |
commit | 724322deb62ac2a7cd3ab89a63ee365bc8cf0262 (patch) | |
tree | f2150a386d7e7b345fcd27112f2244bdf8f01e33 /install | |
parent | Avoid whichcraft (diff) | |
download | dotfiles-724322deb62ac2a7cd3ab89a63ee365bc8cf0262.tar.gz dotfiles-724322deb62ac2a7cd3ab89a63ee365bc8cf0262.zip |
Use conventional syntax for if block
Diffstat (limited to 'install')
-rwxr-xr-x | install | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -2,8 +2,7 @@ # Define dotfiles directory and check it exists dotfiles="$HOME/.dotfiles" -if [[ ! -n "$dotfiles" ]] -then +if [[ ! -n "$dotfiles" ]]; then echo "Could not find ${dotfiles}!" >&2 exit 1 fi |