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.
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 causealiBuild
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.