chiark / gitweb /
Fix up yppedia-chart-parser to pass ::OCEAN and ::STDIN for fhs to yppedia_chart_parse
authorIan Jackson <ian@liberator.relativity.greenend.org.uk>
Fri, 25 Dec 2009 19:05:15 +0000 (19:05 +0000)
committerIan Jackson <ian@liberator.relativity.greenend.org.uk>
Fri, 25 Dec 2009 19:05:15 +0000 (19:05 +0000)
yarrg/yppedia-chart-parser

index 414f182..76100dc 100755 (executable)
@@ -536,10 +536,10 @@ sub yppedia_ocean_fetch_done () {
 
 sub yppedia_ocean_fetch_chart () {
     if ($stdin_chart) {
-       run_yppedia_chart_parse('STDIN');
+       run_yppedia_chart_parse('::STDIN');
     } else {
        yppedia_ocean_fetch_start(1);
-       run_yppedia_chart_parse('OCEAN');
+       run_yppedia_chart_parse('::OCEAN');
        yppedia_ocean_fetch_done();
     }
 }