Revision | a664b32d5503a22194be00b5ded079ee3382e67f (tree) |
---|---|
Time | 2011-06-05 23:15:32 |
Author | henoheno <henoheno> |
Commiter | henoheno |
BugTrack2/347: Ignore converting zh-CN.lng.php
@@ -1,5 +1,5 @@ | ||
1 | 1 | #!/bin/sh |
2 | -# $Id: release.sh,v 1.32 2011/05/30 15:06:56 henoheno Exp $ | |
2 | +# $Id: release.sh,v 1.33 2011/06/05 14:15:32 henoheno Exp $ | |
3 | 3 | # $CVSKNIT_Id: release.sh,v 1.11 2004/05/28 14:26:24 henoheno Exp $ |
4 | 4 | # Release automation script for PukiWiki |
5 | 5 | # ========================================================== |
@@ -203,7 +203,10 @@ if [ "$__utf8" ] ; then | ||
203 | 203 | echo "Converting EUC-JP => UTF-8 ..." |
204 | 204 | find "$pkg_dir" -type f \( -name "*.txt" -or -name "*.php" -or -name "*.lng" -or -name "*.dat" -or -name "*.ref" \) | |
205 | 205 | while read line; do |
206 | - convert "$line" | |
206 | + case "$line" in | |
207 | + "$pkg_dir"/zh-CN.lng.php ) ;; # UTF-8 already, Do nothing | |
208 | + * ) convert "$line" ;; | |
209 | + esac | |
207 | 210 | done |
208 | 211 | |
209 | 212 | # Replace 'EUC-JP' => 'UTF-8' |