You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ro...@apache.org on 2023/01/26 12:48:48 UTC

[couchdb-glazier] 01/01: Install Erlang into path without spaces

This is an automated email from the ASF dual-hosted git repository.

ronny pushed a commit to branch install-path-erlang
in repository https://gitbox.apache.org/repos/asf/couchdb-glazier.git

commit be71d951ca5b0c4a4edb5f6b6c07ad403b478271
Author: Ronny Berndt <ro...@apache.org>
AuthorDate: Thu Jan 26 13:48:44 2023 +0100

    Install Erlang into path without spaces
---
 bin/variables.ps1 | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/bin/variables.ps1 b/bin/variables.ps1
index 7e78700..cde138b 100644
--- a/bin/variables.ps1
+++ b/bin/variables.ps1
@@ -19,10 +19,11 @@ $mozBuildFile = Split-Path $mozBuildUri -Leaf
 # ERLANG BUILD SETTINGS
 
 # Download location of the Erlang/OTP Environment for Windows (x64)
-$erlBuildUri = "https://github.com/erlang/otp/releases/download/OTP-24.3.4.7/otp_win64_24.3.4.7.exe"
+$erlVersion = "24.3.4.8"
+$erlBuildUri = "https://github.com/erlang/otp/releases/download/OTP-${erlVersion}/otp_win64_${erlVersion}.exe"
 $erlBuildFile = Split-Path $erlBuildUri -Leaf
-$erlDir = "erl24"
-$erlInstallPath = "C:\Program Files\${erlDir}"
+$erlDir = "erl-${erlVersion}"
+$erlInstallPath = "C:\tools\${erlDir}"
 
 # ERLANG BUILD SETTINGS