view move-if-change @ 58439:b1e7465ce5fc

(lookup_named_face): Add signal_p arg. Return -1 if signal_p is zero and face name is unknown. (Fx_list_fonts): Don't signal error in lookup_named_face. (Fface_font): Signal error in lookup_named_face. (ascii_face_of_lisp_face): Likewise.
author Kim F. Storm <storm@cua.dk>
date Mon, 22 Nov 2004 23:25:49 +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