From d0ba39573fc478a30350c6c3cd90bf6df19b3500 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 9 Mar 2006 16:45:10 +0000 Subject: workaround an issue with browsers that sometimes drop the --bundle option --- mdkupdate | 3 +++ 1 file changed, 3 insertions(+) (limited to 'mdkupdate') diff --git a/mdkupdate b/mdkupdate index da86eaed..0747fcc2 100755 --- a/mdkupdate +++ b/mdkupdate @@ -88,6 +88,9 @@ my %options = ( GetOptions(%options); +# workaround an issue with browsers that sometimes drop the --bundle option: +$bundle = shift @ARGV if $ARGV[0] =~ /\.bundle$/; + $bundle eq "webbundle" and mdkonline::get_site($startpage), exit(0); my $in; -- cgit v1.2.1