summarylogtreecommitdiffstats
path: root/use-system-tools.patch
diff options
context:
space:
mode:
authorMatthias Lisin2019-11-03 17:34:26 +0100
committerMatthias Lisin2019-11-03 17:34:26 +0100
commit2bf258486806d66b22804c170e71b67ce428a1df (patch)
treee0c2abb601826e6c2feb6c515d068cc9a31bf41a /use-system-tools.patch
parent837cec2a29149566b224600048c8e9d1a25f8344 (diff)
downloadaur-2bf258486806d66b22804c170e71b67ce428a1df.tar.gz
upgpkg: ubports-installer-git 5ce9c514
- Adjust patches
Diffstat (limited to 'use-system-tools.patch')
-rw-r--r--use-system-tools.patch15
1 files changed, 6 insertions, 9 deletions
diff --git a/use-system-tools.patch b/use-system-tools.patch
index 882deb6000b..8e8de8ea54b 100644
--- a/use-system-tools.patch
+++ b/use-system-tools.patch
@@ -1,7 +1,7 @@
diff -ura package.orig/src/utils.js package.new/src/utils.js
---- package.orig/src/utils.js 2019-10-30 00:09:52.833991579 +0100
-+++ package.new/src/utils.js 2019-10-30 00:24:23.422742604 +0100
-@@ -222,16 +222,9 @@
+--- package.orig/src/utils.js 2019-11-03 17:23:57.937681039 +0100
++++ package.new/src/utils.js 2019-11-03 17:31:22.048339885 +0100
+@@ -223,13 +223,7 @@
process.exit(-1);
}
@@ -12,10 +12,7 @@ diff -ura package.orig/src/utils.js package.new/src/utils.js
- platforms[os.platform()]
- )
- : path.join(__dirname, "..", "platform-tools", platforms[os.platform()]);
++let toolpath = ""
+ let processes = [];
function execTool(tool, args, callback) {
- exec(
-- [path.join(toolpath, tool)].concat(args).join(" "),
-+ [tool].concat(args).join(" "),
- { options: { maxBuffer: 1024 * 1024 * 2 } },
- callback
- );
+ let pid = exec(