From a86d6a0ecc6c85f49384cd845aa4292ce00a12fd Mon Sep 17 00:00:00 2001 From: Ximin Luo Date: Mon, 2 Mar 2015 17:09:55 +0100 Subject: install-xpi: dh_link needs to be run from package home directory, e.g. when giving -D to dh --- install-xpi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install-xpi b/install-xpi index e740454..3601038 100755 --- a/install-xpi +++ b/install-xpi @@ -223,7 +223,7 @@ def install_xpi(script_name, package, xpi_file, exclude, install_dir, links, command = ["dh_link", "-p" + package, link_source, link_target] if verbose: print(" ".join(command)) - subprocess.call(command) + subprocess.call(command, cwd=os.path.dirname(debian_directory)) # get symlinks list try: @@ -243,7 +243,7 @@ def install_xpi(script_name, package, xpi_file, exclude, install_dir, links, for link in links: command = ["dh_link", "-p" + package, install_dir, link] print(" ".join(command)) - subprocess.call(command) + subprocess.call(command, cwd=os.path.dirname(debian_directory)) def get_first_package(debian_directory): -- cgit v1.2.3