view move-if-change @ 83875:fbb5919e6afb

* server.el (server-start, server-unload-hook): suspend-tty-functions has been renamed to suspend-tty-hook. * xt-mouse.el: Likewise. resume-tty-functions has been renamed to resume-tty-hook. * term.c (Vsuspend_tty_hook): Rename from Vsuspend_tty_functions. (Vresume_tty_hook): Rename from Vresume_tty_functions. (syms_of_term): Rename suspend-tty-functions to suspend-tty-hook and resume-tty-function to resume-tty-hook. (Fsuspend_tty, Fresume_tty): Use new names.
author Dan Nicolaescu <dann@ics.uci.edu>
date Tue, 04 Sep 2007 15:44:11 +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