From 13332150cd9bce6a7ae5157ef642d6e6ea25c71e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Mon, 19 Apr 2010 14:24:20 +0200 Subject: [PATCH] Fix script to make it actually work. --- 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 79649524c..c557c0dae 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 '*/lang/*'` \ +grep -ho '\' `find . -type f -a -name '*.php' -a -not -path '*/libraries/messages.inc.php'` \ | grep -Ev '^str(Transformation_|ShowStatus|Setup)' | sort -u > $tmp2 echo Please note that you need to check results of this script, it doesn\'t