Fix script to make it actually work.

This commit is contained in:
Michal Čihař
2010-04-19 14:24:20 +02:00
parent d659eeaafd
commit 13332150cd

View File

@@ -10,7 +10,7 @@ tmp2=`mktemp`
grep -o '^\$\<str[A-Z][a-zA-Z0-9_]*\>' libraries/messages.inc.php \ grep -o '^\$\<str[A-Z][a-zA-Z0-9_]*\>' libraries/messages.inc.php \
| tr -d '$' \ | tr -d '$' \
| grep -Ev '^str(Transformation_|ShowStatus)' | sort -u > $tmp1 | grep -Ev '^str(Transformation_|ShowStatus)' | sort -u > $tmp1
grep -ho '\<str[A-Z][a-zA-Z0-9_]*\>' `find . -type f -a -name '*.php' -a -not -path '*/lang/*'` \ grep -ho '\<str[A-Z][a-zA-Z0-9_]*\>' `find . -type f -a -name '*.php' -a -not -path '*/libraries/messages.inc.php'` \
| grep -Ev '^str(Transformation_|ShowStatus|Setup)' | sort -u > $tmp2 | grep -Ev '^str(Transformation_|ShowStatus|Setup)' | sort -u > $tmp2
echo Please note that you need to check results of this script, it doesn\'t echo Please note that you need to check results of this script, it doesn\'t