view move-if-change @ 4960:45b6288416e3

slight cleanup, move EXFUN of regexp-quote to lisp.h -------------------- ChangeLog entries follow: -------------------- src/ChangeLog addition: 2010-01-29 Ben Wing <ben@xemacs.org> * lisp.h: * objects.h (set_face_boolean_attached_to): Use lisp.h for EXFUN of Fregexp_quote, that's what it's for.
author Ben Wing <ben@xemacs.org>
date Fri, 29 Jan 2010 23:38:50 -0600
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