From: Kartik Thakore Date: Tue, 17 Nov 2009 12:23:49 +0000 (-0500) Subject: fixed pod2html script for me... but I don't know if it is updating X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=e52692dea012c7ff056c9ef6592b3fc1279ce6dd;p=sdlgit%2FSDL-Site.git fixed pod2html script for me... but I don't know if it is updating --- diff --git a/tools/PM-Pod2html-snippet.pl b/tools/PM-Pod2html-snippet.pl index 816558f..cabe38f 100644 --- a/tools/PM-Pod2html-snippet.pl +++ b/tools/PM-Pod2html-snippet.pl @@ -7,9 +7,10 @@ use File::Spec; use Pod::Xhtml; #system('git pull'); - -my $input_path = 'C:/SDL_perl/lib/pods'; +my $input_path = 'C:/SDL_perl/lib/pods'; + $input_path = $ARGV[0] unless !$ARGV[0]; my $output_path = 'F:/htdocs/SDL-Site/pages'; + $output_path = $ARGV[0] unless !$ARGV[1]; my $parser = Pod::Xhtml->new(FragmentOnly => 1); my %module_names = (); my $fh;