summaryrefslogtreecommitdiff
path: root/install-xpi
diff options
context:
space:
mode:
Diffstat (limited to 'install-xpi')
-rwxr-xr-xinstall-xpi4
1 files 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):