view move-if-change @ 4503:af95657e0bfd

Use EQ() and !EQ() in symbols.c, thank you Robert Delius Royar. 2008-08-27 Aidan Kehoe <kehoea@parhasard.net> * symbols.c (Fuser_variable_p): (map_varalias_chain): Use EQ() and !EQ(), don't compare two Lisp_Objects using == and !=. Fixes the union build, thank you Robert Delius Royar.
author Aidan Kehoe <kehoea@parhasard.net>
date Wed, 27 Aug 2008 00:39:09 +0200
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