diff options
| m--------- | core/src/tbox/tbox | 0 | ||||
| -rw-r--r-- | xmake/core/base/os.lua | 2 |
2 files changed, 1 insertions, 1 deletions
diff --git a/core/src/tbox/tbox b/core/src/tbox/tbox -Subproject 6e6a0e8e766318708e3a2438ff6a9af7d8439e5 +Subproject a89476007fe903e394672f8ca2d4c53d15cc41f diff --git a/xmake/core/base/os.lua b/xmake/core/base/os.lua index 52e9bf075..0ec557dcb 100644 --- a/xmake/core/base/os.lua +++ b/xmake/core/base/os.lua @@ -525,7 +525,7 @@ function os.mkdir(...) -- create directories for _, dir in ipairs(os.argw(args)) do if not os._mkdir(dir) then - return false, string.format("create directory: %s failed!", dir) + return false, string.format("cannot create directory: %s, error: %s", dir, os.strerror()) end end |
