summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetter Reinholdtsen <pere@hungry.com>2009-10-22 08:56:00 +0000
committerPetter Reinholdtsen <pere@hungry.com>2009-10-22 08:56:00 +0000
commit3e73e2e259dfb304a0853af0c4188ae0e492e474 (patch)
tree818126e62c87094275d9df7cccad9ce72bf380ba
parent39218a105cef68efa64df6828b19ca0d3e9be107 (diff)
Try to get downloader working properly.
-rwxr-xr-xfrikanalen/bin/update_video_diff.pl2
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);