Skip to content
Snippets Groups Projects
Commit 6e5e0fb1 authored by Monika Komorowska's avatar Monika Komorowska
Browse files

Added a test for output directory

parent 80c7932e
No related branches found
No related tags found
No related merge requests found
......@@ -65,6 +65,11 @@ if (!$outdir) {
} else {
#strip the final /
$outdir =~ s/\/$//;
#test if the directory exists
if (!-d $outdir) {
die("Directory $outdir does not exist.");
}
}
......
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