mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-04 15:51:23 +00:00
rebar3@3.25.0: Avoiding variable $cmd
This commit is contained in:
parent
bddd039d61
commit
57ba63b2e5
@ -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": {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user