view move-if-change @ 95103:974543f59c33

(cs_iso8859_1): Deleted. (ft_face_cache): New variable. (struct ftfont_info): New member fc_charset_idx; (ftfont_build_basic_charsets): Deleted. (fc_charset_table): New variable. (ftfont_pattern_entity): New arg fc_charset_idx. Store (FILENAME . FC_CHARSET_IDX) as :font-entity property in the font entity. Callers changed. (ftfont_lookup_cache, ftfont_get_charset): New funcitons. (ftfont_spec_pattern): New argument fc_charset_idx. Check registry more rigidly. Callers changed. (ftfont_open, ftfont_close, ftfont_has_char): Adjustd for the change of :font-entity property of the font.
author Kenichi Handa <handa@m17n.org>
date Mon, 19 May 2008 07:21:25 +0000
parents 354e0c45cedf
children 14a97ab281d5
line wrap: on
line source

#!/bin/sh
if
test -r $2
then
if
cmp $1 $2 > /dev/null
then
echo $2 is unchanged
rm -f $1
else
mv -f $1 $2
fi
else
mv -f $1 $2
fi