Mercurial > hg > xemacs-beta
view move-if-change @ 959:87e011e66a78
[xemacs-hg @ 2002-08-12 07:45:36 by youngs]
2002-08-12 Simon Josefsson <jas@extundo.com>
* lispref/building.texi (Pure Storage): purecopy is a no-op.
author | youngs |
---|---|
date | Mon, 12 Aug 2002 07:45: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