view move-if-change @ 95290:e3e5f8759ca5

(LGSTRING_HEADER_SIZE, LGSTRING_GLYPH_SIZE) (check_gstring, check_otf_features, otf_list, otf_tag_symbol) (otf_open, font_otf_capability, generate_otf_features) (font_otf_DeviceTable, font_otf_ValueRecord, font_otf_Anchor): Commented out by surrounding "#if 0" and "#endif" for the moment. (Ffont_drive_otf, Ffont_otf_alternates): Likewise. (syms_of_font): Codes for accessing above commented out.
author Kenichi Handa <handa@m17n.org>
date Sun, 25 May 2008 11:00:52 +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