aboutsummaryrefslogtreecommitdiff
path: root/install
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2014-03-01 21:25:06 +1300
committerTom Ryder <tom@sanctum.geek.nz>2014-03-01 21:25:06 +1300
commitd90a7741a0cbafc1c20e6d4c4512b9002e13fb74 (patch)
tree44f163f0c5d11a57af35d7296d8751ad9adbb5f0 /install
parentAdding exchange.vim (diff)
downloaddotfiles-d90a7741a0cbafc1c20e6d4c4512b9002e13fb74.tar.gz
dotfiles-d90a7741a0cbafc1c20e6d4c4512b9002e13fb74.zip
Simply error check for git(1) in install
Diffstat (limited to 'install')
-rwxr-xr-xinstall3
1 files changed, 1 insertions, 2 deletions
diff --git a/install b/install
index aed6d823..17660041 100755
--- a/install
+++ b/install
@@ -50,8 +50,7 @@ lns() {
}
# Bail if we don't have git(1)
-if ! hash git 2>/dev/null; then
- printf '%s: Could not find git(1)!\n' "$self" >&2
+if ! hash git; then
exit 1
fi