view move-if-change @ 33103:ecf2e8c385f8

* loadup.el (top level): Adjust load path if program name is "../src/bootstrap-emacs", in case it's not dumped and thus the load path adjustment hasn't already been done.
author Ken Raeburn <raeburn@raeburn.org>
date Tue, 31 Oct 2000 15:58:25 +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