summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2009-06-09 13:10:45 (GMT)
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2009-06-11 13:52:42 (GMT)
commit9d2e3f87aba9e87437c27ef94c9215f8b916bd6a (patch)
treeea9c82f18acf820ebbfc61192f1c8c622a570ea6
parent6c517a19c67164cab1b29654080b20cf8ff9b8cf (diff)
downloadQt-9d2e3f87aba9e87437c27ef94c9215f8b916bd6a.zip
Qt-9d2e3f87aba9e87437c27ef94c9215f8b916bd6a.tar.gz
Qt-9d2e3f87aba9e87437c27ef94c9215f8b916bd6a.tar.bz2
do not append trailing slash to OUT_PWD in nested pro-files
the top-level one doesn't have one, either, so this lead to inconsistent behavior depending on whether the pro was processed directly or from a SUBDIRS target. Reviewed-by: mariusSO
-rw-r--r--qmake/generators/metamakefile.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/qmake/generators/metamakefile.cpp b/qmake/generators/metamakefile.cpp
index 3f60791..adbe94a 100644
--- a/qmake/generators/metamakefile.cpp
+++ b/qmake/generators/metamakefile.cpp
@@ -332,8 +332,6 @@ SubdirsMetaMakefileGenerator::init()
}
qmake_setpwd(sub->input_dir);
Option::output_dir = sub->output_dir;
- if(Option::output_dir.at(Option::output_dir.length()-1) != QLatin1Char('/'))
- Option::output_dir += QLatin1Char('/');
sub_proj->read(subdir.fileName());
if(!sub_proj->variables()["QMAKE_FAILED_REQUIREMENTS"].isEmpty()) {
fprintf(stderr, "Project file(%s) not recursed because all requirements not met:\n\t%s\n",