Mercurial > emacs
view move-if-change @ 112343:f93569ff5422
Fix bug #7848 with using SET_SYMBOL_VALUE in image.c
!!!DO NOT MERGE TO THE TRUNK!!!
image.c (syms_of_image): Don't use SET_SYMBOL_VALUE.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Sun, 16 Jan 2011 04:51:59 -0500 |
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