Mercurial > hg > xemacs-beta
view move-if-change @ 4078:6f05405e63fc
[xemacs-hg @ 2007-07-26 11:15:04 by aidan]
Fix the union build; thank you Robert Delius Royar.
author | aidan |
---|---|
date | Thu, 26 Jul 2007 11:15:08 +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