Commit 362cd34b authored by Aard's avatar Aard

Add output directory for kickstarter

parent c30bd373
* Fri Apr 05 2013 Bernd Wachter <bernd.wachter@jollamobile.com> - 0.31.1
- Add output directory for kickstarter
* Thu Apr 04 2013 Bernd Wachter <bernd.wachter@jollamobile.com> - 0.31
- Refactorize project files
- Add Sandbox
......
Name: ssu
Version: 0.31
Version: 0.31.1
Release: 1
Summary: SSU enabler for RND
Group: System/Base
......
......@@ -220,8 +220,10 @@ bool SsuKickstarter::write(QString kickstart){
if (kickstart.isEmpty()){
if (repoOverride.contains("filename")){
ks.setFileName(var.resolveString(repoOverride.value("filename"),
&repoOverride));
ks.setFileName(repoOverride.value("outputdir") +
var.resolveString(repoOverride.value("filename"),
&repoOverride));
ks.open(QIODevice::WriteOnly);
} else {
qerr << "No filename specified, and no default filename configured" << endl;
......@@ -230,7 +232,7 @@ bool SsuKickstarter::write(QString kickstart){
} else if (kickstart == "-")
ks.open(stdout, QIODevice::WriteOnly);
else {
ks.setFileName(kickstart);
ks.setFileName(repoOverride.value("outputdir") + kickstart);
ks.open(QIODevice::WriteOnly);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment