aboutsummaryrefslogtreecommitdiff
path: root/environment.c
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-03-16 16:52:00 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-03-16 16:52:00 -0400
commitb4a0fda409f49c44c3aaee40575b438f0dfbbbe4 (patch)
tree47842c922e09786fa57ce4e1fc729e12ae10bdc7 /environment.c
parentb0b2504a947058649ca037ad34b579bb5c43f485 (diff)
Fix shell escaping of paths
Diffstat (limited to 'environment.c')
-rw-r--r--environment.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/environment.c b/environment.c
index 78525b0f..9b39caa5 100644
--- a/environment.c
+++ b/environment.c
@@ -581,7 +581,7 @@ env_t *new_compilation_unit(CORD libname)
{"Int$value_as_text", "func(i:Int -> Path)"});
ADD_CONSTRUCTORS("Shell",
{"Shell$escape_text", "func(text:Text -> Shell)"},
- {"Shell$escape_text", "func(path:Path -> Shell)"},
+ {"Shell$escape_path", "func(path:Path -> Shell)"},
{"Shell$escape_text_array", "func(texts:[Text] -> Shell)"},
{"Shell$escape_text_array", "func(paths:[Path] -> Shell)"},
{"Int$value_as_text", "func(i:Int -> Shell)"});