do not add "/." to _PRO_FILE_PWD_
if a "subdir" project added a project file from the same directory as itself, "/." would be appended to the path, which is obviously not useful. Change-Id: Ia733dedb57e568c5cf9a3d5eb29727176a5142c5 Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
This commit is contained in:
parent
3d31e39f13
commit
91cf67c85d
@ -338,7 +338,7 @@ SubdirsMetaMakefileGenerator::init()
|
||||
printf(" ");
|
||||
sub->input_dir = subdir.absolutePath();
|
||||
if(subdir.isRelative() && old_output_dir != oldpwd) {
|
||||
sub->output_dir = old_output_dir + "/" + subdir.path();
|
||||
sub->output_dir = old_output_dir + (subdir.path() != "." ? "/" + subdir.path() : QString());
|
||||
printf("Reading %s [%s]\n", subdir.absoluteFilePath().toLatin1().constData(), sub->output_dir.toLatin1().constData());
|
||||
} else { //what about shadow builds?
|
||||
sub->output_dir = sub->input_dir;
|
||||
|
Loading…
x
Reference in New Issue
Block a user