view move-if-change @ 4196:ffcf5a27df12

[xemacs-hg @ 2007-09-30 15:26:05 by adrian] xemacs-21.5-clean: Introduce TEXI2HTML_NOSPLIT in man/Makefile rules for beta.html and xemacs-faq.html -------------------- ChangeLog entries follow: -------------------- man/ChangeLog addition: 2007-09-30 Adrian Aichner <adrian@xemacs.org> * Makefile (TEXI2HTML_NOSPLIT): New. * Makefile ($(HTMLDIR)/beta.html): Use TEXI2HTML_NOSPLIT. * Makefile ($(HTMLDIR)/xemacs-faq.html): Ditto.
author adrian
date Sun, 30 Sep 2007 15:26:05 +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