Mercurial > hg > xemacs-beta
view move-if-change @ 669:5c696033aec4
[xemacs-hg @ 2001-09-28 15:31:01 by adrian]
[PATCH APPROVE] xemacs-21.5: Use xcopy /r in xemacs.mak for NT 4.0 compatibility <uk7yjzo5w.fsf@rapier.ecf.teradyne.com>
author | adrian |
---|---|
date | Fri, 28 Sep 2001 15:31:01 +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