view move-if-change @ 5526:9a046b2e6494

Fix get-other-frame bug. -------------------- ChangeLog entries follow: -------------------- lisp/ChangeLog addition: 2011-06-23 Didier Verna <didier@xemacs.org> From smitchel <smitchel@bnin.net> * frame.el (get-other-frame): Add missing first argument THIS to the call to NEXT-FRAME.
author Didier Verna <didier@lrde.epita.fr>
date Thu, 23 Jun 2011 08:55:35 +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