view move-if-change @ 2659:674ee2dfe5fc

[xemacs-hg @ 2005-03-13 11:35:21 by crestani] Adjust KKCC_BT_STACK_SIZE. 2005-03-13 Marcus Crestani <crestani@informatik.uni-tuebingen.de> * alloc.c (KKCC_BT_STACK_SIZE): Temporary fix for KKCC backtrace. Thanks to Adrian.
author crestani
date Sun, 13 Mar 2005 11:35:27 +0000
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