]> git.pld-linux.org Git - packages/depot_tools.git/blob - adjust-path.patch
obsolete gclient
[packages/depot_tools.git] / adjust-path.patch
1 --- depot_tools-0.1/fetch.py~   2013-06-19 17:56:10.000000000 +0300
2 +++ depot_tools-0.1/fetch.py    2013-12-11 21:22:06.260143708 +0200
3 @@ -29,6 +29,8 @@
4  
5  SCRIPT_PATH = os.path.dirname(os.path.abspath(__file__))
6  
7 +# insert it into $PATH, so wouldn't need to put all internal bins to $PATH, like download_from_google_storage
8 +os.environ['PATH'] += os.pathsep + SCRIPT_PATH
9  
10  #################################################
11  # Checkout class definitions.
12 --- depot_tools-20131210/gclient.py~    2013-12-10 22:01:22.000000000 +0200
13 +++ depot_tools-20131210/gclient.py     2013-12-11 23:30:04.595762844 +0200
14 @@ -102,6 +102,8 @@
15  import subprocess2
16  from third_party import colorama
17  
18 +# insert current script dir into $PATH, so wouldn't need to put all internal bins to $PATH, like download_from_google_storage
19 +os.environ['PATH'] += os.pathsep + os.path.dirname(os.path.abspath(__file__))
20  
21  class GClientKeywords(object):
22    class FromImpl(object):
This page took 0.065006 seconds and 3 git commands to generate.