From 68226dd2a5e26720f53693bfbb2e37eda10476f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Tue, 29 Jun 2004 08:20:47 +0000 Subject: [PATCH] Checks for diffstat presence. --- ChangeLog | 4 ++++ lang/check_lang.sh | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/ChangeLog b/ChangeLog index 16cc7efcc..114273daf 100755 --- a/ChangeLog +++ b/ChangeLog @@ -5,10 +5,14 @@ phpMyAdmin - Changelog $Id$ $Source$ +2004-06-29 Michal Čihař + * lang/check_lang.sh: Checks for diffstat presence. + 2004-06-28 Marc Delisle * lang/slovak: Updated, thanks to Lubos Klokner (erkac) ### 2.6.0-beta2 released + 2004-06-27 Michal Čihař * lang/*: Make all export choices look simmilar ('drop table' -> DROP TABLE), removed unused strings (there vere MANY!), fixed some czech diff --git a/lang/check_lang.sh b/lang/check_lang.sh index 107492073..5cfe0137b 100755 --- a/lang/check_lang.sh +++ b/lang/check_lang.sh @@ -14,6 +14,11 @@ FILEPAT="*.inc.php" STRINGMATCH='^[[:space:]]*\$[[:alnum:]_]+[[:blank:]]+=' IGNOREMATCH='strEncto|strKanjiEncodConvert|strXkana|allow_recoding' +if [ "`which diffstat`" = "" ] ; then + echo 'You need diffstat to use this!' + exit 1 +fi + rm -rf $TMPDIR mkdir -p $TMPDIR