view move-if-change @ 5109:c113da3e2f67

add a comment about where FRAME_PIXWIDTH/FRAME_PIXHEIGHT is set -------------------- ChangeLog entries follow: -------------------- src/ChangeLog addition: 2010-03-06 Ben Wing <ben@xemacs.org> * frame.c (change_frame_size_1): Add a comment about where FRAME_PIXWIDTH/FRAME_PIXHEIGHT is set.
author Ben Wing <ben@xemacs.org>
date Sat, 06 Mar 2010 00:44:13 -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