Mercurial > emacs
view move-if-change @ 57983:d6c27439fe41
(install, maintainer-clean): Don't use "elisp-*" as it nukes elisp-cover.texi.
(dist): Change elisp-[0-9] to elisp-[1-9], as there could be no elisp-0 etc.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Sat, 06 Nov 2004 16:17:45 +0000 |
parents | 354e0c45cedf |
children | 14a97ab281d5 |
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