diff options
author | Guilhem Moulin <guilhem.moulin@ens-lyon.org> | 2012-02-17 18:33:18 +0100 |
---|---|---|
committer | Guilhem Moulin <guilhem.moulin@ens-lyon.org> | 2012-02-17 18:33:18 +0100 |
commit | 32d8b0131bea5bb8dbd485643c9c126064055b5f (patch) | |
tree | 59d375589991c161dd53570b3bf5345cbc651f0d /videomv.pl | |
parent | d1e1052a437054bc6c0cab3fe8b150a9fd5a435f (diff) |
removing empty dirs (fix)
Diffstat (limited to 'videomv.pl')
-rwxr-xr-x | videomv.pl | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -542,7 +542,7 @@ if (defined $old_symlink) { &perform ("Deleting old symlink... ", unlink $old_symlink); } -open my $DIR, catdir($directors, $old_director) or die "Can't open: $!"; +opendir my $DIR, catdir($directors, $old_director) or die "Can't open: $!"; if (scalar(grep(!/^\.\.?$/, readdir $DIR) == 0)) { &perform ("Removing empty dir... ", rmdir catdir($directors, $old_director)); } |