Skip to content
Snippets Groups Projects
Commit 2070d15c authored by Andy Yates's avatar Andy Yates
Browse files

Data dir is always set so we need to override if given a target location. Also...

Data dir is always set so we need to override if given a target location. Also formatting changes applied
parent cc7ba66d
No related branches found
No related tags found
No related merge requests found
......@@ -406,7 +406,7 @@ foreach my $spec (@todo) {
next;
}
if(! $target_dir && $target_location) {
if(! defined $target_location) {
$target_dir = $target_location;
}
......@@ -434,7 +434,7 @@ foreach my $spec (@todo) {
printf( "SOURCE 'datadir' = '%s'\n", $source_dir );
printf( "TARGET 'datadir' = '%s'\n", $target_dir );
printf("TMPDIR = %s\n", $tmp_dir);
printf( "TMPDIR = %s\n", $tmp_dir);
my $staging_dir = catdir( $tmp_dir, sprintf( "tmp.%s", $target_db ) );
my $destination_dir = catdir( $target_dir, $target_db );
......
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