From cc06b6df97b5d7e5edd36ab6c1d0226cf58308a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Mon, 24 May 2010 11:08:43 +0200 Subject: [PATCH] Adjust to work better with current master. --- scripts/find_unused_messages.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/find_unused_messages.sh b/scripts/find_unused_messages.sh index c557c0dae..ea8394b4b 100755 --- a/scripts/find_unused_messages.sh +++ b/scripts/find_unused_messages.sh @@ -10,7 +10,7 @@ tmp2=`mktemp` grep -o '^\$\' libraries/messages.inc.php \ | tr -d '$' \ | grep -Ev '^str(Transformation_|ShowStatus)' | sort -u > $tmp1 -grep -ho '\' `find . -type f -a -name '*.php' -a -not -path '*/libraries/messages.inc.php'` \ +grep -ho '\' `find . -type f -a -name '*.php' -a -not -path '*/libraries/messages.inc.php' -a -not -path '*/js/messages.php' -a -not -path '*.js'` \ | grep -Ev '^str(Transformation_|ShowStatus|Setup)' | sort -u > $tmp2 echo Please note that you need to check results of this script, it doesn\'t