summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/tools/controller/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/controller/main.cpp b/src/tools/controller/main.cpp
index 6d0141be..4b8155aa 100644
--- a/src/tools/controller/main.cpp
+++ b/src/tools/controller/main.cpp
@@ -562,7 +562,7 @@ void installPackage(const QString &package, const QString &location) throw(Excep
throw Exception(Error::IO, "Could not copy from stdin to temporary file %1").arg(package);
}
- QFileInfo fi(package);
+ QFileInfo fi(packageFile);
if (!fi.exists() || !fi.isReadable() || !fi.isFile())
throw Exception(Error::IO, "Package file is not readable: %1").arg(packageFile);