diff options
| author | hachem <im@hachem.wtf> | 2026-10-07 22:57:09 +0200 |
|---|---|---|
| committer | hachem <im@hachem.wtf> | 2026-10-07 22:57:09 +0200 |
| commit | 5f6deca073728d0dafa2cd47d841b28d54af3aaf (patch) | |
| tree | aea2a645d819d52aa95fcc27056a64a355ef64b7 /gils/touch.rv | |
| parent | e55291a32a8b3f7b5c105cd79e86f3c19f19b3d4 (diff) | |
fix: relative paths + run revo scripts
Diffstat (limited to 'gils/touch.rv')
| -rw-r--r-- | gils/touch.rv | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gils/touch.rv b/gils/touch.rv index 2dd0d8c..84ecca8 100644 --- a/gils/touch.rv +++ b/gils/touch.rv @@ -3,7 +3,7 @@ const context = env.ctx if context.argv:len() < 2 do puts("usage: touch <path>\n") end else do - const path = abspath(context.argv[1]) + const path = expand_path(context.argv[1]) if fs:is_dir(path) do puts("touch: #{path}: is a directory\n") end else if fs:size(path) < 0 do fs:store(path, "") end end |
