Mercurial > hg > xemacs-beta
view move-if-change @ 3335:f63530aa6c68
[xemacs-hg @ 2006-04-10 15:16:45 by james]
Support pre-1.0.10 versions of the ALSA library. See xemacs-patches message
<m3y7ydsbzl.fsf@jerrypc.cs.usu.edu>.
author | james |
---|---|
date | Mon, 10 Apr 2006 15:16:47 +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