summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-06-22 17:40:14 +0200
committerJules Laplace <julescarbon@gmail.com>2018-06-22 17:40:14 +0200
commit1d0d0c1bd2a9c43397d5c8ac20887d4e357d0ca7 (patch)
treeff33409a1752151117fdf77ce65149af0a368f68
parenta77ddb5896fc69a6afdf5800a27f5159478972bf (diff)
eriod
-rwxr-xr-xget.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/get.pl b/get.pl
index 5f4cf78..56510d0 100755
--- a/get.pl
+++ b/get.pl
@@ -68,7 +68,7 @@ if ($video_fn) {
print "Video filename: $video_fn\n";
my $tag = sanitize($video_fn);
print "creating dataset: $tag\n";
- my @partz = split(".", $video_fn);
+ my @partz = split(/\./, $video_fn);
my $ext = $partz[$#partz];
my $new_fn = $tag . '.' . $ext;
system('mv', $video_fn, $new_fn);