summaryrefslogtreecommitdiffstatshomepage
path: root/scripts
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2025-05-12 13:23:14 +0200
committerbfredl <bjorn.linse@gmail.com>2025-05-12 13:24:38 +0200
commitd04cbb65b9485bdb0e2aea83d6700b3c0ed8832e (patch)
tree464a9e3d84421c02668ce734211c66b8db805ab8 /scripts
parent9c0afc8873a8780d596c022c3dea0573399b8450 (diff)
fix(scripts): use right syntax for choosing ref in "zig fetch"
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/bump_deps.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/bump_deps.lua b/scripts/bump_deps.lua
index 2e5b4a353a..a0ee55a723 100755
--- a/scripts/bump_deps.lua
+++ b/scripts/bump_deps.lua
@@ -65,6 +65,7 @@ end
-- Run a command, die on failure with err_msg
local function run_die(cmd, err_msg)
+ -- print(vim.inspect(table.concat(cmd, ' ')))
return _run(cmd, true, err_msg)
end
@@ -163,7 +164,7 @@ local function ref(name, _ref)
'zig',
'fetch',
'--save=' .. symbol,
- 'git+https://github.com/' .. repo .. '?ref=' .. _ref,
+ 'git+https://github.com/' .. repo .. '#' .. _ref,
})
run_die({ 'git', 'add', 'build.zig.zon' })
end