diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2013-08-20 11:31:19 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2013-08-20 11:31:19 +1200 |
commit | bef6ff0115948128be6514cb606efee2d2c63f43 (patch) | |
tree | ad9ad42fea8c69b8939f0549a129b10cb2664438 /install | |
parent | Remove unneeded quoting within [[ ]] (diff) | |
download | dotfiles-bef6ff0115948128be6514cb606efee2d2c63f43.tar.gz dotfiles-bef6ff0115948128be6514cb606efee2d2c63f43.zip |
Fix dotfiles dir existence test
Should have been using -d, not -n
Diffstat (limited to 'install')
-rwxr-xr-x | install | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2,7 +2,7 @@ # Define dotfiles directory and check it exists dotfiles="$HOME/.dotfiles" -if [[ ! -n $dotfiles ]]; then +if [[ ! -d $dotfiles ]]; then printf "Could not find $dotfiles!\n" >&2 exit 1 fi |