diff options
author | Duarte Duarte <dnpd.dd@gmail.com> | 2015-01-11 22:00:55 +0000 |
---|---|---|
committer | Duarte Duarte <dnpd.dd@gmail.com> | 2015-01-11 22:00:55 +0000 |
commit | 8bbd9133d57fc34b77544cbdd59526ed9ccaa607 (patch) | |
tree | 05220cea5a27c2d4b8b67158a9178fd0319b160e | |
parent | 6cfa0e6d85d1225762a2faa7a710ce39b8bd3459 (diff) |
Tools/ConnectionPatcher: Fix a typo when checking if moduleName dir exists
Thanks to @ChipLeo
Ref #13866
-rw-r--r-- | src/tools/connection_patcher/Program.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/connection_patcher/Program.cpp b/src/tools/connection_patcher/Program.cpp index 386dd7991c0..127be50791b 100644 --- a/src/tools/connection_patcher/Program.cpp +++ b/src/tools/connection_patcher/Program.cpp @@ -68,7 +68,7 @@ namespace Connection_Patcher if (!fs::exists(modulePath)) fs::create_directories(modulePath); - if (fs::exists(modulePath / modulePath)) + if (fs::exists(modulePath / moduleName)) fs::permissions(modulePath / moduleName, fs::add_perms | fs::others_write | fs::group_write | fs::owner_write); patcher.Finish(modulePath / moduleName); fs::permissions(modulePath / moduleName, fs::remove_perms | fs::others_write | fs::group_write | fs::owner_write); |