diff --git a/utils/deploy_tool/main.cpp b/utils/deploy_tool/main.cpp index 67943492..54337eb2 100644 --- a/utils/deploy_tool/main.cpp +++ b/utils/deploy_tool/main.cpp @@ -510,6 +510,9 @@ int main(int argc, char * argv[]) { if (!out_dir.endsWith("/")) out_dir += "/"; if (ldd.isEmpty()) ldd = "/usr/bin/ldd"; + out_dir.replaceAll("//", "/"); + out_plugins_dir.replaceAll("//", "/"); + for (int i = 0; ; ++i) { if (qt_deps[i].lib.isEmpty()) break; qt_deps[i].plugins.forEach([&](const PIString & p){qt_filters[p] = PIStringList("*");});