@@ -39,7 +39,7 @@ function command() {
3939
4040function cp_if_different() {
4141 if ! [ -e " $2 " ] || diffq " $1 " " $2 " ; then
42- command cp " $1 " " $2 "
42+ command cp " $1 " " $2 "
4343 fi
4444}
4545
@@ -169,6 +169,11 @@ function svn_sync() {
169169 if ! [ -e " $src_file " ]; then
170170 command svn delete " $dest_file "
171171 else
172+ # Require lower-7 octets only so that it can be served even without
173+ # the UTF-8 charset header.
174+ if ! perl -ne ' exit -1 if m/[^\x00-\x7f]/' " $src_file " ; then
175+ panic " Non-ascii export $src_file "
176+ fi
172177 if [ -e " $dest_file " ]; then
173178 cp_if_different " $src_file " " $dest_file "
174179 else
@@ -204,12 +209,12 @@ if (( $EFFECT )); then
204209 echo " --summary='Bundle of source files, tests, and documentation' \\ "
205210 echo " -p google-code-prettify -u mikesamuel \\ "
206211 echo " --labels='Type-Archive,OpSys-All,Featured' \\ "
207- echo " distrib/prettify-$TODAY .tar.bz2"
212+ echo " $VERSION_BASE /trunk/ distrib/prettify-$TODAY .tar.bz2"
208213 echo " $ $VERSION_BASE /trunk/tools/googlecode_upload.py \\ "
209214 echo " --summary='Minimized JS and CSS sources' \\ "
210215 echo " -p google-code-prettify -u mikesamuel \\ "
211216 echo " --labels='Type-Archive,OpSys-All,Featured' \\ "
212- echo " distrib/prettify-small-$TODAY .tar.bz2"
217+ echo " $VERSION_BASE /trunk/ distrib/prettify-small-$TODAY .tar.bz2"
213218 echo " and finally check"
214219 echo " http://code.google.com/p/google-code-prettify/downloads/list"
215220else
0 commit comments