Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion mb2md.pl
Original file line number Diff line number Diff line change
Expand Up @@ -761,7 +761,7 @@ sub convertit
# Strip destination directory extension if requested
defined($strip_dir_ext) && ($destinationdir =~ s/\.$strip_dir_ext$//);
# Also strip directory extension from all ancestors
defined($strip_dir_ext) && ($temppath =~ s/\.$strip_dir_ext\//\//);
defined($strip_dir_ext) && ($temppath =~ s/\.$strip_dir_ext\//\//g);
defined($strip_dir_ext) && ($temppath =~ s/\.$strip_dir_ext$//);

# We don't want to have .'s in the $targetfile file
Expand Down