From 57ba63b2e5da9be80a8b4fdd6877e41c22d5fc9d Mon Sep 17 00:00:00 2001 From: HUMORCE Date: Tue, 8 Jul 2025 15:33:52 +0000 Subject: [PATCH] rebar3@3.25.0: Avoiding variable `$cmd` --- bucket/rebar3.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bucket/rebar3.json b/bucket/rebar3.json index a9a78b2a74..3f27ffc2d3 100644 --- a/bucket/rebar3.json +++ b/bucket/rebar3.json @@ -9,8 +9,8 @@ "url": "https://github.com/erlang/rebar3/releases/download/3.25.0/rebar3", "hash": "2d46024331792aa31c8d12242c0073042d24e2650b45fedba6c17156a8220fa3", "pre_install": [ - "$cmd = @('@echo off', 'setlocal', 'set rebarscript=%~f0', 'escript.exe \"%rebarscript:.cmd=%\" %*')", - "Set-Content \"$dir\\rebar3.cmd\" -Value $cmd -Encoding ascii" + "$content = @('@echo off', 'setlocal', 'set rebarscript=%~f0', 'escript.exe \"%rebarscript:.cmd=%\" %*')", + "Set-Content \"$dir\\rebar3.cmd\" -Value $content -Encoding ascii" ], "bin": "rebar3.cmd", "checkver": {