view move-if-change @ 97822:f44734c99365

(QCf): New variable. (check_gstring): Use LGSTRING_GLYPH_LEN, not LGSTRING_LENGTH. (font_prepare_composition): Delete this function. (font_range): Type and arguments changed. (Ffont_make_gstring, Ffont_fill_gstring): Delete them. (font_fill_lglyph_metrics): New function. (Ffont_shape_text): Renamed to Ffont_shape_gstring and arguments changed. (syms_of_font): DEFSYM QCf. Delete defsubr for Sfont_make_gstring, Sfont_fill_gstring, Sfont_shape_text. Defsubr Sfont_shape_gstring.
author Kenichi Handa <handa@m17n.org>
date Fri, 29 Aug 2008 07:54:44 +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