summaryrefslogtreecommitdiff
path: root/l10ntools/source
diff options
context:
space:
mode:
authorjan Iversen <jani@documentfoundation.org>2016-05-05 11:18:34 +0000
committerjan Iversen <jani@documentfoundation.org>2016-05-05 13:02:51 +0000
commitc96118225db74864a7e41749d68bd5c13598aba7 (patch)
tree53d7fc0c2760a2fadf440a91f782a883da611c1b /l10ntools/source
parent795300b6a1f000c6889353ceac1afe8790bb7cc0 (diff)
genlang, made gDiff.sh intelligent
Removed output from identical files Change-Id: Id9619b7cd005aa8087fcccf4e679ee13e14955eb
Diffstat (limited to 'l10ntools/source')
-rwxr-xr-xl10ntools/source/gDiff.sh8
1 files changed, 6 insertions, 2 deletions
diff --git a/l10ntools/source/gDiff.sh b/l10ntools/source/gDiff.sh
index f54060284535..767ca0784a27 100755
--- a/l10ntools/source/gDiff.sh
+++ b/l10ntools/source/gDiff.sh
@@ -10,7 +10,11 @@ diff /tmp/jix1 /tmp/jix2
for i in `find . -name \*.pot`
do
- echo ">>>>>>>> " $i
- diff ../pot/$i $i | sed '/^6c6$/,/^16c16$/d'
+ CMD=$(diff ../pot/$i $i | sed '/^6c6$/,/^16c16$/d')
+ if [ "$CMD" != "" ]
+ then
+ echo ">>>>>>>> " $i
+ echo "$CMD"
+ fi
done