diff options
author | Vladislav Vaintroub <wlad@mariadb.com> | 2017-06-19 18:23:55 +0000 |
---|---|---|
committer | Vladislav Vaintroub <wlad@mariadb.com> | 2017-06-19 18:23:55 +0000 |
commit | 472c2d9b2fbb262665bdd08338ea902e8398010d (patch) | |
tree | 2e3c52932a538e98c323d86646ffd7ed6e64c5d0 /win | |
parent | b9a326b6e1c1a4b14b27e7fb634fb5f16981f731 (diff) | |
download | mariadb-git-472c2d9b2fbb262665bdd08338ea902e8398010d.tar.gz |
MDEV-13106 : Fix check for empty directory in MSI installer
Diffstat (limited to 'win')
-rw-r--r-- | win/packaging/ca/CustomAction.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win/packaging/ca/CustomAction.cpp b/win/packaging/ca/CustomAction.cpp index 9a174b8529e..9281ce27d34 100644 --- a/win/packaging/ca/CustomAction.cpp +++ b/win/packaging/ca/CustomAction.cpp @@ -180,7 +180,7 @@ extern "C" UINT __stdcall CheckDirectoryEmpty(MSIHANDLE hInstall, empty= true; for(;;) { - if (wcscmp(data.cFileName, L".") || wcscmp(data.cFileName, L"..")) + if (wcscmp(data.cFileName, L".") && wcscmp(data.cFileName, L"..")) { empty= false; break; |