diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-09-23 14:53:44 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-09-23 14:53:44 -0400 |
| commit | 89c427172a25bdb7802d142c03f3504a53a304fc (patch) | |
| tree | 78fe65ee8a6466649e0aa6ef7aebb31ffc1769fe /environment.c | |
| parent | b432fc82c78bb890eca5938c7754950f089c7abe (diff) | |
Support creating parent directories as needed (mkdir -p) and also set a
better default permission for new dirs
Diffstat (limited to 'environment.c')
| -rw-r--r-- | environment.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/environment.c b/environment.c index 96c68c59..385e27b5 100644 --- a/environment.c +++ b/environment.c @@ -267,7 +267,7 @@ env_t *new_compilation_unit(CORD *libname) {"base_name", "Path$base_name", "func(path:Path)->Text"}, {"by_line", "Path$by_line", "func(path:Path)->(func()->Text?)?"}, {"children", "Path$children", "func(path:Path, include_hidden=no)->[Path]"}, - {"create_directory", "Path$create_directory", "func(path:Path, permissions=0o644[32])"}, + {"create_directory", "Path$create_directory", "func(path:Path, permissions=0o755[32])"}, {"escape_int", "Int$value_as_text", "func(i:Int)->Path"}, {"escape_path", "Path$escape_path", "func(path:Path)->Path"}, {"escape_text", "Path$escape_text", "func(text:Text)->Path"}, |
