mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-05-30 07:32:32 +02:00
2017-06-27 Fred Gleason <fredg@paravelsystems.com>
* Added an output error to rdexport(1) for when invoked without the output directory specified.
This commit is contained in:
parent
3619234e58
commit
13d5631d26
@ -15870,3 +15870,6 @@
|
||||
* Added a '--title=' option to rdexport(1).
|
||||
2017-06-27 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Updated the package version to 2.16.0int04.
|
||||
2017-06-27 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Added an output error to rdexport(1) for when invoked without the
|
||||
output directory specified.
|
||||
|
@ -23,6 +23,7 @@
|
||||
#include <stdlib.h>
|
||||
|
||||
#include <qapplication.h>
|
||||
#include <qdir.h>
|
||||
#include <qfile.h>
|
||||
|
||||
#include <rd.h>
|
||||
@ -193,6 +194,11 @@ MainObject::MainObject(QObject *parent)
|
||||
}
|
||||
}
|
||||
export_output_to=cmd->key(cmd->keys()-1);
|
||||
QDir dir;
|
||||
if(!dir.exists(export_output_to)) {
|
||||
fprintf(stderr,"rdexport: no such output directory\n");
|
||||
exit(256);
|
||||
}
|
||||
|
||||
//
|
||||
// Read Configuration
|
||||
|
Loading…
x
Reference in New Issue
Block a user