File 2120-escript-Do-not-split-path-to-Erlang-system-into-mult.patch of Package erlang
From 385b18de6fd72672ed7d6736b30f56d6691d4433 Mon Sep 17 00:00:00 2001
From: Rickard Green <rickard@erlang.org>
Date: Tue, 23 May 2017 16:38:43 +0200
Subject: [PATCH] escript: Do not split path to Erlang system into multiple
words
escript failed to start Erlang systems with spaces in the
absolute path (when absolute path was used).
---
erts/etc/common/escript.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/erts/etc/common/escript.c b/erts/etc/common/escript.c
index 80cc25b04..7f0af77a4 100644
--- a/erts/etc/common/escript.c
+++ b/erts/etc/common/escript.c
@@ -526,7 +526,7 @@ main(int argc, char** argv)
* Push initial arguments.
*/
- push_words(emulator);
+ PUSH(emulator);
free_env_val(env);
PUSH("+B");
--
2.13.0