hachem.wtf
aboutsummaryrefslogtreecommitdiff
path: root/gils/mv.rv
diff options
context:
space:
mode:
authorhachem <im@hachem.wtf>2026-10-07 22:57:09 +0200
committerhachem <im@hachem.wtf>2026-10-07 22:57:09 +0200
commit5f6deca073728d0dafa2cd47d841b28d54af3aaf (patch)
treeaea2a645d819d52aa95fcc27056a64a355ef64b7 /gils/mv.rv
parente55291a32a8b3f7b5c105cd79e86f3c19f19b3d4 (diff)
fix: relative paths + run revo scripts
Diffstat (limited to 'gils/mv.rv')
-rw-r--r--gils/mv.rv4
1 files changed, 2 insertions, 2 deletions
diff --git a/gils/mv.rv b/gils/mv.rv
index 95d9a40..d3ecf47 100644
--- a/gils/mv.rv
+++ b/gils/mv.rv
@@ -3,8 +3,8 @@
const context = env.ctx
if context.argv:len() < 3 do puts("usage: mv <source> <destination>\n") end
else do
- const source = abspath(context.argv[1])
- const destination = abspath(context.argv[2])
+ const source = expand_path(context.argv[1])
+ const destination = expand_path(context.argv[2])
const size = fs:size(source)
if size < 0 do puts("mv: #{source}: no such file\n") end
else do