view move-if-change @ 100792:e829a2083df5

(ftfont_driver): Set the member get_variation_glyphs to ftfont_variation_glyphs. (setup_otf_gstring): New function. (ftfont_drive_otf): Use it. (ftfont_shape_by_flt): Handle variation selector. (ftfont_variation_glyphs): New function.
author Kenichi Handa <handa@m17n.org>
date Tue, 30 Dec 2008 23:40:16 +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