Mercurial > emacs
view move-if-change @ 106951:89c890863220
Fix bug #5447, whereby loading C:/foo.el.gz on MS-Windows would fail.
jka-compr.el (jka-compr-load): If load-file is not in load-history,
try its file-truename version.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Fri, 22 Jan 2010 12:23:25 +0200 |
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