view move-if-change @ 34133:f1063cc498e4

(Fx_create_frame): Reintroduce the call to face-set-after-frame-defaults. (Vx_window_horizontal_drag_shape): New variable. (syms_of_xfns): DEFVAR_LISP it. (x_set_mouse_color): Create frame's horizontal_drag_cursor [not enabled].
author Jason Rumney <jasonr@gnu.org>
date Sat, 02 Dec 2000 21:02:27 +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