version.sh: don't suppress error messages from git availability check

otherwise there is no feedback at all.
as it happens, this also fixes a bashism

Signed-off-by: Sergei Trofimovich <slyfox@inbox.ru>
This commit is contained in:
Oswald Buddenhagen 2009-06-13 14:31:52 +02:00 committed by Sergei Trofimovich
parent 3337c39c54
commit 9a5c9cbc88

View File

@ -1,6 +1,6 @@
#!/bin/sh
git --version &>/dev/null || exit
git --version >/dev/null || exit
curr_dir=$(pwd)