view move-if-change @ 33082:5ab6f3e1f5c8

(menu_face_change_count): New variable. (Finternal_set_lisp_face_attribute): Increment it for changes of the `menu' face. (realize_basic_faces): Reflect changes in the `menu' faces in menu bars.
author Gerd Moellmann <gerd@gnu.org>
date Mon, 30 Oct 2000 20:45:18 +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