Mercurial > hg > xemacs-beta
view move-if-change @ 5728:0e2f2837c2bd
Fix reversed test for the insert-data-in-exec build rule in
lib-src/Makefile.in.in. See xemacs-beta message
<CAHCOHQm+qhM5qLLhBGBfQB5hw9XzcVDJLb4fRMAc=kqRj=sddA@mail.gmail.com>.
author | Jerry James <james@xemacs.org> |
---|---|
date | Wed, 06 Mar 2013 21:05:12 -0700 |
parents | 376386a54a3c |
children |
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