projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
treewide: replace `which` with `command -v`
[project/luci.git]
/
build
/
i18n-init.sh
diff --git
a/build/i18n-init.sh
b/build/i18n-init.sh
index b20fbc33474499a3c201994347b0fc983dbd8f85..94abdfcd568eecb5efc195b7e03dfb203d01887e 100755
(executable)
--- 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" ] && {