From 5f6deca073728d0dafa2cd47d841b28d54af3aaf Mon Sep 17 00:00:00 2001 From: hachem Date: Wed, 7 Oct 2026 22:57:09 +0200 Subject: fix: relative paths + run revo scripts --- gils/cp.rv | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gils/cp.rv') diff --git a/gils/cp.rv b/gils/cp.rv index 5988e54..5006acb 100644 --- a/gils/cp.rv +++ b/gils/cp.rv @@ -4,8 +4,8 @@ const context = env.ctx if context.argv:len() < 3 do puts("usage: cp \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("cp: #{source}: no such file\n") end else do -- cgit v1.3