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,22 @@
|
|||
diff --git a/util.py b/util.py
|
||||
index bfec1ed..0546772 100644
|
||||
--- a/util.py
|
||||
+++ b/util.py
|
||||
@@ -22,16 +22,7 @@ log = logging.getLogger("bot")
|
||||
|
||||
|
||||
def solve_filepath(path):
|
||||
- if not path:
|
||||
- return ''
|
||||
-
|
||||
- if path[0] == '/':
|
||||
- return path
|
||||
- elif os.path.exists(path):
|
||||
- return path
|
||||
- else:
|
||||
- mydir = os.path.dirname(os.path.realpath(__file__))
|
||||
- return mydir + '/' + path
|
||||
+ return path
|
||||
|
||||
|
||||
def get_recursive_file_list_sorted(path):
|
||||
Loading…
Add table
Add a link
Reference in a new issue