projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Commit from LuCI Translation Portal by user jow.: 18 of 29 messages translated (5...
[project/luci.git]
/
build
/
i18n-init.sh
diff --git
a/build/i18n-init.sh
b/build/i18n-init.sh
index
9a206bb
..
b20fbc3
100755
(executable)
--- a/
build/i18n-init.sh
+++ b/
build/i18n-init.sh
@@
-4,7
+4,8
@@
PATTERN=$1
SCM=
[ -d .svn ] && SCM="svn"
-[ -d .git ] && SCM="git"
+git=$( which git 2>/dev/null )
+[ "$git" ] && "$git" status >/dev/null && SCM="git"
[ -z "$SCM" ] && {
echo "Unsupported SCM tool" >&2