view move-if-change @ 95972:e427600f176b

(font_parse_fcname): Only only one decimal point. (font_unparse_fcname): Handle data in family and foundry indices as symbols, not strings. (font_unparse_gtkname, Ffont_face_attributes): New functions.
author Chong Yidong <cyd@stupidchicken.com>
date Sun, 15 Jun 2008 19:42:11 +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