view move-if-change @ 38539:f150471f4c55

(mouse-avoidance-too-close-p): If the frame lacks a tool-bar-lines parameter, behave as if its value were zero. (mouse-avoidance-set-pointer-shape): Don't do anything if x-pointer-shape is not boundp.
author Eli Zaretskii <eliz@gnu.org>
date Tue, 24 Jul 2001 11:04:40 +0000
parents 354e0c45cedf
children 14a97ab281d5
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