summaryrefslogtreecommitdiffhomepage
path: root/build/i18n-init.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build/i18n-init.sh')
-rwxr-xr-xbuild/i18n-init.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/i18n-init.sh b/build/i18n-init.sh
index b20fbc3347..94abdfcd56 100755
--- a/build/i18n-init.sh
+++ b/build/i18n-init.sh
@@ -4,7 +4,7 @@ PATTERN=$1
SCM=
[ -d .svn ] && SCM="svn"
-git=$( which git 2>/dev/null )
+git=$( command -v git 2>/dev/null )
[ "$git" ] && "$git" status >/dev/null && SCM="git"
[ -z "$SCM" ] && {