Skip to content

Commit 42fa6ff

Browse files
committed
more changes trying to track down this END block issue
1 parent 63f5049 commit 42fa6ff

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

trunk/gui_cli.pm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ package gui_cli;
9494
# User-specified path?
9595
if ($Args{outfile} && $Args{outfile} =~ /\w/) {
9696
($savepath, $outfile) = $Args{outfile} =~ /^(?:(.*?)\/)?([^\/]+)$/;
97+
$savepath ||= '.';
9798
}
9899
# Otherwise, use the default
99100
else {

trunk/nuv_utils.pm

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,8 +220,9 @@ package nuv_utils;
220220
}
221221

222222
sub Quit {
223-
# Print a nice goodbye message, and leave
224-
print "\nThanks for using nuvexport!\n\n";
223+
# If this is the main script, print a nice goodbye message
224+
print "\nThanks for using nuvexport!\n\n" unless ($is_child);
225+
# Time to leave
225226
exit;
226227
}
227228

0 commit comments

Comments
 (0)