aboutsummaryrefslogtreecommitdiff
path: root/install
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2013-09-18 13:28:12 +1200
committerTom Ryder <tom@sanctum.geek.nz>2013-09-18 13:28:12 +1200
commitcaeeac9ebfdbc11519aebfb014c78d2bb553c0ea (patch)
tree1fc5727a5d3444e4daade85ca9ed8655c0449e64 /install
parentShortcut for re-sourcing ~/.bashrc (diff)
downloaddotfiles-caeeac9ebfdbc11519aebfb014c78d2bb553c0ea.tar.gz
dotfiles-caeeac9ebfdbc11519aebfb014c78d2bb553c0ea.zip
Use consistent negative test syntax
Diffstat (limited to 'install')
-rwxr-xr-xinstall2
1 files changed, 1 insertions, 1 deletions
diff --git a/install b/install
index cc9973bd..51d68227 100755
--- a/install
+++ b/install
@@ -55,7 +55,7 @@ fi
# Define dotfiles directory and check it exists
dotfiles=$HOME/.dotfiles
-if [[ ! -d $dotfiles ]]; then
+if ! [[ -d $dotfiles ]]; then
printf 'install: Could not find %s!\n' "$dotfiles" >&2
exit 1
fi