uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
|
|
@ -0,0 +1,18 @@
|
|||
diff --git a/pysc2/run_configs/platforms.py b/pysc2/run_configs/platforms.py
|
||||
index 5cd84f9..1923cb7 100644
|
||||
--- a/pysc2/run_configs/platforms.py
|
||||
+++ b/pysc2/run_configs/platforms.py
|
||||
@@ -119,12 +119,9 @@ class Linux(LocalBase):
|
||||
"""Config to run on Linux."""
|
||||
|
||||
def __init__(self):
|
||||
- base_dir = os.environ.get("SC2PATH", "~/StarCraftII")
|
||||
+ base_dir = os.environ.get("SC2PATH", "@sc2path@")
|
||||
base_dir = os.path.expanduser(base_dir)
|
||||
env = copy.deepcopy(os.environ)
|
||||
- env["LD_LIBRARY_PATH"] = ":".join(filter(None, [
|
||||
- os.environ.get("LD_LIBRARY_PATH"),
|
||||
- os.path.join(base_dir, "Libs/")]))
|
||||
super(Linux, self).__init__(base_dir, "SC2_x64", env=env)
|
||||
|
||||
@classmethod
|
||||
Loading…
Add table
Add a link
Reference in a new issue