view move-if-change @ 3802:d6f975442bd3

[xemacs-hg @ 2007-01-27 17:14:20 by michaels] 2007-01-27 Mike Sperber <mike@xemacs.org> * faces.c (complex_vars_of_faces): Move declarations of fontptr and fonts out of #ifdef MULE, unbreaking the non-MULE Xft build.
author michaels
date Sat, 27 Jan 2007 17:14:22 +0000
parents 376386a54a3c
children
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