Package: dh-autoreconf Version: 14 Severity: minor User: helm...@debian.org Usertags: rebootstrap
A failing dh_autoreconf -Dsomedir fails to chdir back and thus errors out creating debian/autoreconf.after in the wrong directory. Suppose the autoreconf call fails (=> severity=minor). Then doit raises an exception and the "chdir $pwd;" call in the eval block is skipped. The next "complex_doit("$find > debian/autoreconf.after");" operates in the wrong directory and bad things happen. I suggest pulling the final chdir and the initial getcwd out of the eval block. Helmut