]> git.pld-linux.org Git - packages/depot_tools.git/commitdiff
insert PATH also in gclient tool
authorElan Ruusamäe <glen@delfi.ee>
Wed, 11 Dec 2013 21:35:31 +0000 (23:35 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Wed, 11 Dec 2013 21:35:31 +0000 (23:35 +0200)
adjust-path.patch
depot_tools.spec

index 41a76686789b87cd3bd8df6c58ff20f4238ff5ae..5eedc4cbb343b477eb16a4c9bdd1ccd8454b7cce 100644 (file)
@@ -4,8 +4,19 @@
  
  SCRIPT_PATH = os.path.dirname(os.path.abspath(__file__))
  
-+# insert it into $PATH, so wouldn't need to put all interanl bins to $PATH, like download_from_google_storage
++# insert it into $PATH, so wouldn't need to put all internal bins to $PATH, like download_from_google_storage
 +os.environ['PATH'] += os.pathsep + SCRIPT_PATH
  
  #################################################
  # Checkout class definitions.
+--- depot_tools-20131210/gclient.py~   2013-12-10 22:01:22.000000000 +0200
++++ depot_tools-20131210/gclient.py    2013-12-11 23:30:04.595762844 +0200
+@@ -102,6 +102,8 @@
+ import subprocess2
+ from third_party import colorama
++# insert current script dir into $PATH, so wouldn't need to put all internal bins to $PATH, like download_from_google_storage
++os.environ['PATH'] += os.pathsep + os.path.dirname(os.path.abspath(__file__))
+ class GClientKeywords(object):
+   class FromImpl(object):
index b28ea74d73781128d3ba243f7670855f12a2d2f7..124c0db4c53dca71b1690cdfc0b45dad2de8c561 100644 (file)
@@ -1,5 +1,5 @@
 %define                subver  20131210
-%define                rel             0.11
+%define                rel             0.12
 Summary:       A package of scripts called used to manage checkouts and code reviews
 Name:          depot_tools
 Version:       0.1
This page took 0.070154 seconds and 4 git commands to generate.