Cleanup created directory if build fails
tsloughter opened this issue · comments
Tristan Sloughter commented
A directory is created before configure
is called so it can be passed as the argument to --prefix
. This directory should be removed if the build fails and it is empty -- to prevent against deleting deleting an old working install that was being overridden.
Luis Rascão commented
#14 now aborts the pipeline if the build step fails, this ensures that a previously working install dir is not clobbered, so maybe we can close this one when PR is closed?
Tristan Sloughter commented
Looks good, yup.