[Pkg-mozext-commits] [adblock-plus-element-hiding-helper] 05/16: Noissue - Updated build.py to match the one in adblockpluschrome repository

David Prévot taffit at moszumanska.debian.org
Wed Mar 18 18:21:28 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository adblock-plus-element-hiding-helper.

commit 98daa4d9de308d38c3ce3ed139096d8654d38ce9
Author: Wladimir Palant <trev at adblockplus.org>
Date:   Thu Jan 15 22:09:57 2015 +0100

    Noissue - Updated build.py to match the one in adblockpluschrome repository
---
 build.py | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/build.py b/build.py
index 9617311..7c4860d 100755
--- a/build.py
+++ b/build.py
@@ -5,12 +5,11 @@ import os, sys, subprocess
 
 DEPENDENCY_SCRIPT = os.path.join(os.path.dirname(__file__), "ensure_dependencies.py")
 
-if os.path.isfile(DEPENDENCY_SCRIPT):
-  try:
-    subprocess.check_call(["python", DEPENDENCY_SCRIPT])
-  except subprocess.CalledProcessError as e:
-    print >>sys.stderr, e
-    print >>sys.stderr, "Failed to ensure dependencies being up-to-date!"
+try:
+  subprocess.check_call([sys.executable, DEPENDENCY_SCRIPT])
+except subprocess.CalledProcessError as e:
+  print >>sys.stderr, e
+  print >>sys.stderr, "Failed to ensure dependencies being up-to-date!"
 
 import buildtools.build
 buildtools.build.processArgs('.', sys.argv)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/adblock-plus-element-hiding-helper.git



More information about the Pkg-mozext-commits mailing list