Mercurial > emacs
view move-if-change @ 93506:c895a1d0e007
minor fixes for EasyPG
Hello,
Would someone please apply the attached patch which only contains minor
bug/doc fixes for EasyPG? Then I'll post an update of the patch:
http://article.gmane.org/gmane.emacs.devel/89452
author | Michael Olson <mwolson@gnu.org> |
---|---|
date | Tue, 01 Apr 2008 05:28:04 +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