From 14d0dc1dca50399933ec23b07eb168003878e0cc Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Tue, 7 Aug 2012 16:59:07 +0200 Subject: [PATCH] remove pointless appending of trailing dir separator under unix Change-Id: Ia9b181db57ac2ee93cd412d58fe6ecbc5637a2f0 Reviewed-by: Joerg Bornemann --- qmake/generators/makefile.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/qmake/generators/makefile.cpp b/qmake/generators/makefile.cpp index 3025a5c..94bf964 100644 --- a/qmake/generators/makefile.cpp +++ b/qmake/generators/makefile.cpp @@ -1339,8 +1339,6 @@ MakefileGenerator::writeInstalls(QTextStream &t, const QString &installs, bool n const QStringList &dirs = project->values(pvar); for(QStringList::ConstIterator pit = dirs.begin(); pit != dirs.end(); ++pit) { QString tmp_dst = fileFixify((*pit), FileFixifyAbsolute, false); - if (!isWindowsShell() && !tmp_dst.endsWith(Option::dir_sep)) - tmp_dst += Option::dir_sep; t << mkdir_p_asstring(filePrefixRoot(root, tmp_dst)) << "\n\t"; } t << target << endl << endl; -- 2.7.4