deb-pkg: Fix building outside of source tree (O=...).
authorNicolas de Pesloüan <nicolas.2p.debian@free.fr>
Mon, 24 Jan 2011 13:41:41 +0000 (14:41 +0100)
committerMichal Marek <mmarek@suse.cz>
Fri, 4 Feb 2011 13:53:45 +0000 (14:53 +0100)
commit9b4ce7bce5f30712fd926ab4599a803314a07719
tree1ec8ad5957da55059a774c31697e98c47b26c67c
parent1b9a50d931a04ba007cc1a926fead3ff4b5afa9b
deb-pkg: Fix building outside of source tree (O=...).

When building linux-headers package using deb-pkg, builddeb erroneously assume
current directory is the source tree. This is not true if building in another
directory, using make O=... deb-pkg.

This patch fix this problem.

Signed-off-by: Nicolas de Pesloüan <nicolas.2p.debian@free.fr>
Tested-by: Nikolai Kondrashov <spbnick@gmail.com>
Acked-by: maximilian attems <max@stro.at>
Signed-off-by: Michal Marek <mmarek@suse.cz>
scripts/package/builddeb