Mercurial > emacs
view move-if-change @ 33442:ec5c714ae981
(openp): Return -2 instead of 0 for the `remote file' case.
(Fload): Use new openp return protocol. Don't try to use
Vload_source_file_function to load .elc files.
author | Miles Bader <miles@gnu.org> |
---|---|
date | Mon, 13 Nov 2000 12:18:37 +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