Handle plots/ subdir, fix spaces in names
This commit is contained in:
parent
eacfc44ee9
commit
cdd82857d5
@ -8,7 +8,7 @@ use strict;
|
||||
binmode(STDIN, ':utf8');
|
||||
binmode(STDOUT, ':utf8');
|
||||
|
||||
my $subdir_regexp = qr{(?:figures|images)};
|
||||
my $subdir_regexp = qr{(?:figures|images|plots)};
|
||||
|
||||
sub fix_subdirs {
|
||||
my ($p) = @_;
|
||||
|
@ -49,7 +49,7 @@ handle_subdir()
|
||||
then
|
||||
perl helpers/flatten-structure.pl < "$f" > "$dst"
|
||||
else
|
||||
cp $f $dst
|
||||
cp "$f" "$dst"
|
||||
fi
|
||||
done
|
||||
fi
|
||||
@ -57,6 +57,7 @@ handle_subdir()
|
||||
|
||||
handle_subdir images
|
||||
handle_subdir figures
|
||||
handle_subdir plots
|
||||
handle_subdir scores
|
||||
handle_subdir inputs
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user