view move-if-change @ 4804:3be2c7c0ef4b

Unbreak the non-bignum build by only calling reinit_vars_of_number() if WITH_NUMBER_TYPES. See xemacs-patches message with ID <870180fe1001061502n5326a2fcv28707aa91d6f26dc@mail.gmail.com>.
author Jerry James <james@xemacs.org>
date Wed, 06 Jan 2010 16:03:37 -0700
parents 376386a54a3c
children
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