summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorTim Jenssen <tim.jenssen@nokia.com>2011-06-22 17:13:39 +0200
committerTim Jenssen <tim.jenssen@nokia.com>2011-06-22 17:13:39 +0200
commit495b36af03dda34b9d76d44e83d3b4b388ef47d3 (patch)
tree9f4ff4337904cab4f3e0c918b581867b4ac4db36 /tools
parent62deb6ef5aaf939337bed825f6760f318e48c0b4 (diff)
now macrelocate should work again
Diffstat (limited to 'tools')
-rw-r--r--tools/operationrunner/operationrunner.cpp8
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);