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 17:16:17 UTC

[couchdb-glazier] branch main updated: Install Erlang into path without spaces (#21)

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

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


The following commit(s) were added to refs/heads/main by this push:
     new f0092b2  Install Erlang into path without spaces (#21)
f0092b2 is described below

commit f0092b2ae15950aa1ff495b5e04bb60d7bd45f72
Author: Ronny Berndt <ro...@apache.org>
AuthorDate: Thu Jan 26 18:16:12 2023 +0100

    Install Erlang into path without spaces (#21)
---
 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