view move-if-change @ 95971:15c2fa76f0d5

* font.c (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. * xfns.c (Fx_select_font): Give GTK font dialog the default font name. * font.h (font_unparse_gtkname): Add prototype.
author Chong Yidong <cyd@stupidchicken.com>
date Sun, 15 Jun 2008 19:41:54 +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