view move-if-change @ 54852:dd005a791c40

(emacs-quick-startup): New defvar (set by -Q). (command-line): New option -Q. Like -q --no-site-file, but in addition it also disables menu-bar, tool-bar, scroll-bars, tool-tips, and the blinking cursor. (command-line-1): Skip startup screen if -Q. (fancy-splash-head): Use :align-to center prop to center splash image.
author Kim F. Storm <storm@cua.dk>
date Tue, 13 Apr 2004 22:20:04 +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