view move-if-change @ 39619:1e12db2b25f0

(x_set_scroll_bar_background) [USE_TOOLKIT_SCROLL_BARS]: Free scroll-bar shadow colors when the background color changes. (Fx_create_frame, x_create_tip_frame) [USE_TOOLKIT_SCROLL_BARS]: Initialize scroll-bar shadow-color fields.
author Miles Bader <miles@gnu.org>
date Fri, 05 Oct 2001 16:36:29 +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