view move-if-change @ 27517:d0c413d1b2c2

Merge more of DOS and X specifics in preparation for merge with xfaces.c. (defined_color): Remove FIXME comment. (tty_color_name): Provide w32-specific function. (realize_tty_face): Handle FACE_TTY_DEFAULT*_COLOR specially.
author Jason Rumney <jasonr@gnu.org>
date Sun, 30 Jan 2000 18:48:52 +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