diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-05-25 00:20:43 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-05-25 00:20:43 +0200 |
| commit | bbd072fe60a9ecb9f0022ba686830048ef665e8a (patch) | |
| tree | 6d5b6674438b1c96b62d6812fa65bc9316d3a668 /datasets/dataset.pl | |
| parent | aadff3e1efd9ec8d12c41c69a136fa4ff479d573 (diff) | |
glob
Diffstat (limited to 'datasets/dataset.pl')
| -rwxr-xr-x | datasets/dataset.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/datasets/dataset.pl b/datasets/dataset.pl index a89e3f8..71c594f 100755 --- a/datasets/dataset.pl +++ b/datasets/dataset.pl @@ -68,7 +68,7 @@ sub process($) { for (my $i = 0; $i < $copies; $i++) { system('cp', $a_tmp, sprintf("tmp_%d.wav", $i)); } - system 'sox', glob 'tmp_*', $b_tmp; + system 'sox', glob('tmp_*'), $b_tmp; system 'rm', glob 'tmp_*'; system './split44k.sh', $b_tmp, 8, $name; opendir my $dh, $name or die "cant opendir $name: $!"; |
