view move-if-change @ 111825:52f1a401269c

Remove empty machine description files * configure.in: Remove reference to removed machine description files and allow $machine and $machfile to be empty. Substitute M_FILE/S_FILE instead of machfile/opsysfile. * msdos/sed1v2.inp (M_FILE, S_FILE): Add $(srcdir)/ prefix. * Makefile.in (M_FILE): Substitute @M_FILE@ instead of @machfile@. (S_FILE): Substitute @S_FILE@ instead of @opsysfile@. * src/m/arm.h, src/m/sh3.h, src/m/xtensa.h: Remove files.
author Andreas Schwab <schwab@linux-m68k.org>
date Sat, 04 Dec 2010 20:50:39 +0100
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