aboutsummaryrefslogtreecommitdiff
path: root/environment.c
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-03-16 16:54:27 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-03-16 16:54:27 -0400
commit67191b70789de3ef723561f26587903dc1dc698f (patch)
tree6f5428c8d6c5ea8e52e83fab17c875035d8ea7de /environment.c
parentb4a0fda409f49c44c3aaee40575b438f0dfbbbe4 (diff)
Fix shell escaping for arrays 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 9b39caa5..6dd82f81 100644
--- a/environment.c
+++ b/environment.c
@@ -583,7 +583,7 @@ env_t *new_compilation_unit(CORD libname)
{"Shell$escape_text", "func(text:Text -> Shell)"},
{"Shell$escape_path", "func(path:Path -> Shell)"},
{"Shell$escape_text_array", "func(texts:[Text] -> Shell)"},
- {"Shell$escape_text_array", "func(paths:[Path] -> Shell)"},
+ {"Shell$escape_path_array", "func(paths:[Path] -> Shell)"},
{"Int$value_as_text", "func(i:Int -> Shell)"});
ADD_CONSTRUCTORS("CString", {"Text$as_c_string", "func(text:Text -> CString)"});
ADD_CONSTRUCTORS("Moment",