[Pbuilder-maint] Bug#363916: pbuilder exits and cleans build
directories even with --save-after-login when exit code is 1.
Junichi Uekawa
dancer at netfort.gr.jp
Thu Apr 20 15:26:06 UTC 2006
Package: pbuilder
Version: 0.151
Probably the following code should check for SAVE_AFTER_LOGIN
function cleanbuildplace () {
if [ "$?" -ne 0 ]; then
echo " -> Aborting with an error";
fi
if [ "${INTERNAL_BUILD_UML}" != "yes" ]; then
if [ -d "$BUILDPLACE" ]; then
echo " -> cleaning the build env "
clean_subdirectories "$BUILDPLACE"
fi;
fi
}
otherwise, exit 1 from pbuilder login prompt will result in cleaning
More information about the Pbuilder-maint
mailing list