Mercurial > hg > xemacs-beta
view move-if-change @ 3862:cfc59907fb1e
[xemacs-hg @ 2007-03-13 16:48:37 by stephent]
Autoconf improvements. <87fy89ay3n.fsf@uwakimon.sk.tsukuba.ac.jp>
author | stephent |
---|---|
date | Tue, 13 Mar 2007 16:48:38 +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