severity 565436 wishlist tag 565436 + patch retitle 565436 PATH to Debian source in env var stop
Hi On Fri, Jan 15, 2010, Francesco Poli (t1000) wrote: > Would it be possible to add a new environment variable to identify the > debianized source directory? > > I think that adding the following simple line in pdebuild-internal just > before export HOME=$(readlink -f $(pwd)/../) > would suffice: > > export DEBSOURCEDIR=$(readlink -f $(pwd)) > > maybe with a comment that explains that this is useful for > hook scripts. > > I think this would be harmless and very useful for many hook > scripts written by users in the future. > Please add this line as soon as possible, if you agree. Sure; that seems fine; not sure about the actual name, but that would work. The other hooks around do things like: cd /tmp/buildd/*/debian/.. Which is probably a good workaround for your hooks for now. -- Loïc Minier -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org