Mercurial > emacs
view move-if-change @ 94879:fc66ed3d9938
Add autoload cookie for
`auth-source-user-or-password'.
(url-basic-auth, url-digest-auth): Use it with any realm,
overriding the user name and password before the prompt.
author | Teodor Zlatanov <tzz@lifelogs.com> |
---|---|
date | Mon, 12 May 2008 12:39:46 +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