alisw / alibuild

A simple build tool for ALICE software
http://alisw.github.io/alibuild/
GNU General Public License v3.0
24 stars 46 forks source link

Protect package installation against interruption #836

Closed TimoWilken closed 7 months ago

TimoWilken commented 7 months ago

If rsync is interrupted by the user while installing package files to their final path, it might already have copied the .build-hash file. That would cause aliBuild to assume that the package was fully installed on subsequent runs, even if some parts are missing.

Protect against this by explicitly creating the marker file last, after rsync has succeeded.