diff options
author | Tim Jenssen <tim.jenssen@nokia.com> | 2011-06-22 17:13:39 +0200 |
---|---|---|
committer | Tim Jenssen <tim.jenssen@nokia.com> | 2011-06-22 17:13:39 +0200 |
commit | 495b36af03dda34b9d76d44e83d3b4b388ef47d3 (patch) | |
tree | 9f4ff4337904cab4f3e0c918b581867b4ac4db36 /tools | |
parent | 62deb6ef5aaf939337bed825f6760f318e48c0b4 (diff) |
now macrelocate should work again
Diffstat (limited to 'tools')
-rw-r--r-- | tools/operationrunner/operationrunner.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/tools/operationrunner/operationrunner.cpp b/tools/operationrunner/operationrunner.cpp index 99d404962..b76aed455 100644 --- a/tools/operationrunner/operationrunner.cpp +++ b/tools/operationrunner/operationrunner.cpp @@ -130,10 +130,12 @@ int main(int argc, char **argv) } FakeInstaller fakeInstaller; - fakeInstaller.setTargetDir(sdkTargetDir); + if (!sdkTargetDir.isEmpty()) { + fakeInstaller.setTargetDir(sdkTargetDir); - operation->setValue(QLatin1String("installer"), - QVariant::fromValue(static_cast<QInstaller::Installer*>(&fakeInstaller))); + operation->setValue(QLatin1String("installer"), + QVariant::fromValue(static_cast<QInstaller::Installer*>(&fakeInstaller))); + } operation->setArguments(argumentList); |