summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmdkupdate5
1 files changed, 5 insertions, 0 deletions
diff --git a/mdkupdate b/mdkupdate
index eec1a739..e3115c36 100755
--- a/mdkupdate
+++ b/mdkupdate
@@ -20,6 +20,10 @@
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #
################################################################################
+# workaround standalone.pm eating "--auto" from @ARGV:
+my @REAL_ARGV;
+BEGIN { @REAL_ARGV = @ARGV };
+
use strict;
use POSIX;
use lib qw(/usr/lib/libDrakX /usr/lib/libDrakX/drakfirsttime);
@@ -89,6 +93,7 @@ my %options = (
'h|help' => \&usage,
);
+@ARGV = @REAL_ARGV;
GetOptions(%options);
# workaround an issue with browsers that sometimes drop the --bundle option: