diff options
author | Loïc Hoguin <[email protected]> | 2017-07-06 19:05:12 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2017-07-06 19:05:12 +0200 |
commit | 70b86284812e46c4a3a607aacaec67af2453fff0 (patch) | |
tree | 1d41d06ee3185b81b16957b7e31af66af4e01b59 /core | |
parent | b5d014d21d98654cb9e01e9207d5f52201d0fde9 (diff) | |
download | erlang.mk-2017.07.06.tar.gz erlang.mk-2017.07.06.tar.bz2 erlang.mk-2017.07.06.zip |
Fix handling of Rebar's .app.src.script files2017.07.06
Diffstat (limited to 'core')
-rw-r--r-- | core/deps.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/deps.mk b/core/deps.mk index 96270a1..a8074d6 100644 --- a/core/deps.mk +++ b/core/deps.mk @@ -471,7 +471,7 @@ define dep_autopatch_appsrc_script.erl AppSrc = "$(call core_native_path,$(DEPS_DIR)/$1/src/$1.app.src)", AppSrcScript = AppSrc ++ ".script", Bindings = erl_eval:new_bindings(), - {ok, Conf} = file:script(AppSrcScript, Bindings), + {ok, [Conf]} = file:script(AppSrcScript, Bindings), ok = file:write_file(AppSrc, io_lib:format("~p.~n", [Conf])), halt() endef |