diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2014-03-01 21:25:06 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2014-03-01 21:25:06 +1300 |
commit | d90a7741a0cbafc1c20e6d4c4512b9002e13fb74 (patch) | |
tree | 44f163f0c5d11a57af35d7296d8751ad9adbb5f0 /install | |
parent | Adding exchange.vim (diff) | |
download | dotfiles-d90a7741a0cbafc1c20e6d4c4512b9002e13fb74.tar.gz dotfiles-d90a7741a0cbafc1c20e6d4c4512b9002e13fb74.zip |
Simply error check for git(1) in install
Diffstat (limited to 'install')
-rwxr-xr-x | install | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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 |