summaryrefslogtreecommitdiff
path: root/bin/ebump
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ebump')
-rwxr-xr-xbin/ebump2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ebump b/bin/ebump
index 7f6e3ce..06264c4 100755
--- a/bin/ebump
+++ b/bin/ebump
@@ -276,7 +276,7 @@ get_vcs() {
echo "svn"
return 0
else
- if [ -x "$(which git)" ]; then
+ if command -v git >/dev/null; then
if [ -n "$(git rev-parse --git-dir 2>/dev/null)" ]; then
echo "git"
return 0