view move-if-change @ 102865:cfdc747670fb

Don't put dump.bat into the barebin, as we don't put temacs.exe in there anyway. Anyone who wants to deal with redumping emacs will have the skills to recompile from source anyway, since it no longer seems necessary to work around windows preloaded dll problems.
author Jason Rumney <jasonr@gnu.org>
date Mon, 06 Apr 2009 14:37:23 +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