X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=installhtml;h=bef35e9099d5dbc61d42d9bdf6576fbef15abc20;hb=48f7ee7a00a9cc3c53df2208f08bd3848df9a5b5;hp=d73124ce13756520c5ead4cef168efaec393c820;hpb=fe4c6be141b0b356b13c8403bfd72e3f9e782a25;p=p5sagit%2Fp5-mst-13.2.git diff --git a/installhtml b/installhtml index d73124c..bef35e9 100755 --- a/installhtml +++ b/installhtml @@ -1,6 +1,6 @@ #!./perl -w -# This file should really be a extracted from a .PL +# This file should really be extracted from a .PL file use lib 'lib'; # use source library if present @@ -9,8 +9,6 @@ use Getopt::Long; # for command-line parsing use Cwd; use Pod::Html; -umask 022; - =head1 NAME installhtml - converts a collection of POD pages to HTML format. @@ -161,6 +159,10 @@ $pod2html = "pod/pod2html"; usage("") unless @ARGV; +# Overcome shell's p1,..,p8 limitation. +# See vms/descrip_mms.template -> descrip.mms for invokation. +if ( $^O eq 'VMS' ) { @ARGV = split(/\s+/,$ARGV[0]); } + # parse the command-line $result = GetOptions( qw( help