Mercurial > hg > xemacs-beta
view move-if-change @ 3455:78507f684253
[xemacs-hg @ 2006-06-16 16:50:39 by james]
Cast away bit restrictions when using the union type. Fixes some gcc 4.1
compilation problems. <m3ejxtjc7h.fsf@jerrypc.cs.usu.edu>
author | james |
---|---|
date | Fri, 16 Jun 2006 16:50:41 +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