Skip to content

Commit

Permalink
Fixed an issue with whitespace causing issues
Browse files Browse the repository at this point in the history
  • Loading branch information
hilts-vaughan committed May 2, 2015
1 parent ceea925 commit a1dfc0d
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 12 deletions.
31 changes: 22 additions & 9 deletions UnlinkMKV-GUI/UnlinkMKV-GUI/FormApplication.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions UnlinkMKV-GUI/UnlinkMKV-GUI/winport.pl
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ package UnlinkMKV {

sub DESTROY {
my $self = shift;
remove_tree("$self->{tmp}");
#remove_tree("$self->{tmp}");
DEBUG "removed tmp $self->{tmp} [exiting]";
}

Expand Down Expand Up @@ -356,7 +356,7 @@ package UnlinkMKV {
more();
if(scalar(@splits) > 0) {
DEBUG "splitting file: $item";
$self->sys($self->{opt}->{mkvmerge}, '--no-chapters', '-o', "$self->{tmp}/parts/split-%03d.mkv", "\"$item\"", '--split', 'timecodes:' . join(',',@splits));
$self->sys($self->{opt}->{mkvmerge}, '--no-chapters', '-o', "\"$self->{tmp}/parts/split-%03d.mkv\"", "\"$item\"", '--split', 'timecodes:' . join(',',@splits));
}
less();

Expand Down Expand Up @@ -594,7 +594,7 @@ package UnlinkMKV {
$link =~ s/([\/]+)/\\/g;
$file =~ s/([\/]+)/\\/g;

$self->sys('cmd', '/c', 'mklink', "$self->{tmp}\\parts\\$link", "\"$file\"");
$self->sys('cmd', '/c', 'mklink', "\"$self->{tmp}\\parts\\$link\"", "\"$file\"");
} else {
$self->sys('/bin/ln', '-s', "\"$file\"", "\"$self->{tmp}/parts/$link\"");
}
Expand Down

0 comments on commit a1dfc0d

Please sign in to comment.