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/tree.rv | |
| parent | e55291a32a8b3f7b5c105cd79e86f3c19f19b3d4 (diff) | |
fix: relative paths + run revo scripts
Diffstat (limited to 'gils/tree.rv')
| -rw-r--r-- | gils/tree.rv | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gils/tree.rv b/gils/tree.rv index b052adb..cc41601 100644 --- a/gils/tree.rv +++ b/gils/tree.rv @@ -20,7 +20,7 @@ fn tree_walk(path, prefix) do end const context = env.ctx -const target = if context.argv:len() > 1 abspath(context.argv[1]) else wd.path +const target = if context.argv:len() > 1 expand_path(context.argv[1]) else wd.path if (vfs_owns(target) and target != "/") do puts("tree: #{target}: virtual dir\n") end else if (target != "/" and fs:is_dir(target) == :false) do puts("tree: #{target}: not a directory\n") end else do |
