Cron <eagle at hope> bin/inn-snapshot
Russ Allbery
rra at stanford.edu
Mon Dec 1 20:51:55 UTC 2008
Julien ÉLIE <julien at trigofacile.com> writes:
> ## File exist locally?
> if [ -f ${DEST} ] ; then
> cmp ${SRC} ${DEST}
> if [ $? -eq 0 ] ; then
> touch ${DEST}
> exit 0
> fi
> echo "${SRC} has changed; please update ${DEST}"
> exit 1
> fi
>
> One solution is to fix the script not to exit. Another one is to add:
>
> cd site
> make maintclean
> cd ..
>
> to support/mksnapshot.
But I already run make maintclean right before updating, which deletes
everything in site. So why would this be necessary?
I run it at the top level, so it runs recursively everywhere, including in
site and tests.
--
Russ Allbery (rra at stanford.edu) <http://www.eyrie.org/~eagle/>
Please send questions to the list rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
More information about the inn-workers
mailing list