diff options
-rwxr-xr-x | frikanalen/bin/update_video_diff.pl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/frikanalen/bin/update_video_diff.pl b/frikanalen/bin/update_video_diff.pl index 0c05c4b..6a7333f 100755 --- a/frikanalen/bin/update_video_diff.pl +++ b/frikanalen/bin/update_video_diff.pl @@ -14,6 +14,8 @@ use XML::Simple; my $localvideo_dir = '/data/video/frikanalen'; my $meta = XMLin("$localvideo_dir/meta.xml"); +# Make sure convert is in the path +$ENV{PATH} = $ENV{PATH} . ":/usr/local/bin"; opendir LOCALVIDEO_DIR, $localvideo_dir or die "Can't open directory $localvideo_dir: $!\n"; @localvideos = grep /^.+\.ogv/, readdir(LOCALVIDEO_DIR); |