view move-if-change @ 5195:fa5d6416887f

Fix for unavailable arglists in hyper-apropos. lisp/ChangeLog addition: 2010-04-09 Didier Verna <didier@xemacs.org> * hyper-apropos.el (hyper-apropos-get-doc): Use [not available] when a function's arglist is unknown (this happens for autoloaded functions).
author Didier Verna <didier@xemacs.org>
date Fri, 09 Apr 2010 12:01:14 +0200
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