]> git.donarmstrong.com Git - debhelper.git/commit
Improve handling of logging in override targets
authorJoey Hess <joey@kitenet.net>
Thu, 10 Feb 2011 23:56:44 +0000 (19:56 -0400)
committerJoey Hess <joey@kitenet.net>
Thu, 10 Feb 2011 23:56:51 +0000 (19:56 -0400)
commit7fa165faff3df27694cbe9e24830eefd517cc8a6
treef5f16049fa6ff3627fec24a139b1b656dfbd17dc
parent14e02173f2eb2ceeffa719c284fd77f25e03576b
Improve handling of logging in override targets

Changes in 76ef1cbd64829ee4a5156a5fc4b887bcba6b974f broke
--remaining-packages in override target.

Now all debhelper commands run in the override target are marked as running
as part of the override, and when the whole target is run, the log is
updated to indicate that commands run during the override have finished.

So, inside the override target, --remaining-packages will see the commands
run as part of the target as having been run. Outside, if the target
fails, dh won't see the commands run it it as having been run.

Closes: #612828
Debian/Debhelper/Dh_Lib.pm
debian/changelog
dh