[mythtv-commits] Ticket #9229: wunderground-maps.pl fails if logdir does not exist. Needs use File::Path;
MythTV
mythtv at cvs.mythtv.org
Mon Nov 15 10:08:01 UTC 2010
#9229: wunderground-maps.pl fails if logdir does not exist. Needs use File::Path;
--------------------------------------+-------------------------------------
Reporter: anonymous | Owner: beirdo
Type: defect | Status: new
Priority: minor | Milestone: unknown
Component: Plugin - MythWeather | Version: 0.24-fixes
Severity: medium | Keywords:
Ticket locked: 0 |
--------------------------------------+-------------------------------------
fails if logdir does not exist with
Undefined subroutine &main::mkpath called at ./wunderground-maps.pl line
35.
if (!-d $logdir) {
mkpath( $logdir, {mode => 0755} );
}
mkpath is not included. To fix need to add
use File::Path;
e.g.
use File::Path;
use File::Basename;
use Cwd 'abs_path';
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/9229>
MythTV <http://www.mythtv.org/>
MythTV Media Center
More information about the mythtv-commits
mailing list