[Pkg-mozext-commits] [mozilla-devscripts] 01/01: install-xpi: dh_link needs to be run from package home directory, e.g. when giving -D to dh
Ximin Luo
infinity0 at pwned.gg
Mon Mar 2 16:09:42 UTC 2015
This is an automated email from the git hooks/post-receive script.
infinity0-guest pushed a commit to branch master
in repository mozilla-devscripts.
commit a86d6a0ecc6c85f49384cd845aa4292ce00a12fd
Author: Ximin Luo <infinity0 at pwned.gg>
Date: Mon Mar 2 17:09:55 2015 +0100
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):
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/mozilla-devscripts.git
More information about the Pkg-mozext-commits
mailing list