aboutsummaryrefslogtreecommitdiffstats
path: root/gendistrib
diff options
context:
space:
mode:
Diffstat (limited to 'gendistrib')
-rwxr-xr-xgendistrib8
1 files changed, 5 insertions, 3 deletions
diff --git a/gendistrib b/gendistrib
index cd4404c..bc9e04d 100755
--- a/gendistrib
+++ b/gendistrib
@@ -212,9 +212,11 @@ foreach (0..$#hdlists) {
synthesis => $e->{synthesis});
unless ($nomediainfo && $nomd5sum) {
- if (! -d $e->{mediainfo}) {
- mkdir $e->{mediainfo}, 0755
- or print STDERR qq(Can't create directory "$e->{mediainfo}": $!\n);
+ for my $d (qw(mediainfo thismediainfo)) {
+ if (! -d $e->{$d}) {
+ mkdir $e->{$d}, 0755
+ or print STDERR qq(Can't create directory "$e->{$d}": $!\n);
+ }
}
}