rebar3@3.25.0: Avoiding variable $cmd

This commit is contained in:
HUMORCE 2025-07-08 15:33:52 +00:00
parent bddd039d61
commit 57ba63b2e5
No known key found for this signature in database
GPG Key ID: FF7A96FF20AE10DC

View File

@ -9,8 +9,8 @@
"url": "https://github.com/erlang/rebar3/releases/download/3.25.0/rebar3", "url": "https://github.com/erlang/rebar3/releases/download/3.25.0/rebar3",
"hash": "2d46024331792aa31c8d12242c0073042d24e2650b45fedba6c17156a8220fa3", "hash": "2d46024331792aa31c8d12242c0073042d24e2650b45fedba6c17156a8220fa3",
"pre_install": [ "pre_install": [
"$cmd = @('@echo off', 'setlocal', 'set rebarscript=%~f0', 'escript.exe \"%rebarscript:.cmd=%\" %*')", "$content = @('@echo off', 'setlocal', 'set rebarscript=%~f0', 'escript.exe \"%rebarscript:.cmd=%\" %*')",
"Set-Content \"$dir\\rebar3.cmd\" -Value $cmd -Encoding ascii" "Set-Content \"$dir\\rebar3.cmd\" -Value $content -Encoding ascii"
], ],
"bin": "rebar3.cmd", "bin": "rebar3.cmd",
"checkver": { "checkver": {