From e299cc9aba86bac5b9e137e9bd45a7014925912c Mon Sep 17 00:00:00 2001 From: Wojtek Mach Date: Fri, 21 Jun 2024 13:25:23 +0200 Subject: [PATCH] Fix windows build When setting windows env variables, we cannot use quotes because they are part of the values. --- rel/app/env.bat.eex | 4 ++-- rel/server/env.bat.eex | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/rel/app/env.bat.eex b/rel/app/env.bat.eex index 1c575f7da..0844f5a6e 100644 --- a/rel/app/env.bat.eex +++ b/rel/app/env.bat.eex @@ -10,8 +10,8 @@ goto continue set ELIXIR_ERL_OPTIONS=!ELIXIR_ERL_OPTIONS! -epmd_module Elixir.Livebook.EPMD -start_epmd false -erl_epmd_port 0 :continue -set RELEASE_MODE="interactive" -set RELEASE_DISTRIBUTION="none" +set RELEASE_MODE=interactive +set RELEASE_DISTRIBUTION=none set MIX_ARCHIVES=!RELEASE_ROOT!\vendor\archives set MIX_REBAR3=!RELEASE_ROOT!\vendor\rebar3 diff --git a/rel/server/env.bat.eex b/rel/server/env.bat.eex index f6677c291..bc8541736 100644 --- a/rel/server/env.bat.eex +++ b/rel/server/env.bat.eex @@ -9,8 +9,8 @@ goto continue set ELIXIR_ERL_OPTIONS=!ELIXIR_ERL_OPTIONS! -epmd_module Elixir.Livebook.EPMD -start_epmd false -erl_epmd_port 0 :continue -set RELEASE_MODE="interactive" -set RELEASE_DISTRIBUTION="none" +set RELEASE_MODE=interactive +set RELEASE_DISTRIBUTION=none if defined LIVEBOOK_NODE set RELEASE_NODE=!LIVEBOOK_NODE! if defined LIVEBOOK_COOKIE set RELEASE_COOKIE=!LIVEBOOK_COOKIE!