view move-if-change @ 942:d90decf21e71

[xemacs-hg @ 2002-07-31 20:26:40 by adrian] [A] [PATCH] xemacs-21.5: Add USE_KKCC to nt/xemacs.mak -------------------- ChangeLog entries follow: -------------------- nt/ChangeLog addition: 2002-07-31 Adrian Aichner <adrian@xemacs.org> * xemacs.mak (USE_KKCC): New. Default it to 1 to get it noticed. Add line to Installation file, when it's enabled. Add period to line add to Installation for USE_CRTDLL.
author adrian
date Wed, 31 Jul 2002 20:26:41 +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