summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xvideomv.pl7
1 files changed, 0 insertions, 7 deletions
diff --git a/videomv.pl b/videomv.pl
index 9ba34c5..a21bc33 100755
--- a/videomv.pl
+++ b/videomv.pl
@@ -419,13 +419,6 @@ if (&is_symlink($real_new_path)) {
$new_director =~ tr@/@_@;
$new_director =~ s/[[:cntrl:]]//;
- my @new_directors = split / *, */, $new_director;
- die "Can't find a suitable director.\n" unless @new_directors;
- my $lastdir = pop @new_directors;
- $new_director = join ", ", @new_directors;
- $new_director .= " & " if @new_directors;
- $new_director .= $lastdir;
-
# Create directory if it doesn't exist
my $new_dirname = catfile ($directors, $new_director);
unless (-d $new_dirname) {