Mercurial > hg > xemacs-beta
view move-if-change @ 2075:c0dad8c0e80d
[xemacs-hg @ 2004-05-13 15:33:15 by james]
Fix assertion failure noted by Malcolm Purvis, due to the fact that
(eq (- most-negative-fixnum) most-negative-fixnum).
author | james |
---|---|
date | Thu, 13 May 2004 15:33:18 +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