[Pkg-mozext-commits] [adblock-plus] 03/41: Noissue - Updated build.py to match the one in adblockpluschrome repository

David Prévot taffit at moszumanska.debian.org
Wed Mar 18 18:21:36 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.

commit 5174edb930a0f05a783001a7ad4e3c14ea200d79
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.git



More information about the Pkg-mozext-commits mailing list