The script bin/upgrade copies files from a BOINC source tree to a project tree. This is typically done after updating the source tree and recompiling the software. The script must reside in the project's bin/ directory, and you must run it from the source tree root.

upgrade takes optional environment variables INSTALL_DIR and TOP_SOURCE_DIR, which can be useful if the installation directory or source directory are different from your previous installation.

upgrade does the following: