view move-if-change @ 91523:e062f74910e7

* make-dist: Remove references to files in mac/ that have been deleted. * README: * INSTALL: Only mention MacOSX. * cw6-mcp.xml: * make-package: * makefile.MPW: * inc/alloca.h: * inc/config.h: * inc/defs-cw6.h: * inc/dirent.h: * inc/epaths.h: * inc/grp.h: * inc/m-mac.h: * inc/pwd.h: * inc/s-mac.h: * inc/termio.h: * inc/utime.h: * inc/utsname.h: * inc/sys/file.h: * inc/sys/ioctl.h: * inc/sys/param.h: * inc/sys/stat.h: * inc/sys/time.h: * inc/sys/types.h: * src/EmacsMPW.r: Remove files for no longer supported pre-MacOSX systems.
author Dan Nicolaescu <dann@ics.uci.edu>
date Mon, 04 Feb 2008 17:23:40 +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