view move-if-change @ 94911:f29483946da4

Delete USE_FONT_BACKEND conditional. (uniscribe_open): Return value changed to font-object. Adjusted for the format change of font-object. (uniscribe_otf_capability): Adjusted for the change of struct font. (add_opentype_font_name_to_list): Don't downcase names. (uniscribe_font_driver): Adjusted for the change of struct font_driver.
author Kenichi Handa <handa@m17n.org>
date Wed, 14 May 2008 00:39:27 +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