Gary V. Vaughan wrote: > 14. Updating > ============ > > There's no obvious way for bootstrap to update itself. Since we got to some > lengths to install the `gnulib' subproject that it comes from, it should at > least be able to warn that it is out of date even if a self-update is not > possible - is it even possible (let alone portable) for a script to copy > something over itself while running, and then re-exec to pick up the changes?
Detection would be easy. Something like this: cmp $0 $gnulib_path/$build_aux/bootstrap A warning would be good, but I would avoid an auto-update.