summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmdkupdate3
1 files changed, 3 insertions, 0 deletions
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;