summaryrefslogtreecommitdiffstats
path: root/mdkupdate
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2006-03-31 17:24:32 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2006-03-31 17:24:32 +0000
commit12ee9f8cc71bcc4f1dc81b46dab1225d3c16d1e4 (patch)
treeb0f0252f962b593a19f05e61207f93146e3f8293 /mdkupdate
parent6633f037f42e4f60a59f300ef18bc18543570bc1 (diff)
downloadmgaonline-12ee9f8cc71bcc4f1dc81b46dab1225d3c16d1e4.tar
mgaonline-12ee9f8cc71bcc4f1dc81b46dab1225d3c16d1e4.tar.gz
mgaonline-12ee9f8cc71bcc4f1dc81b46dab1225d3c16d1e4.tar.bz2
mgaonline-12ee9f8cc71bcc4f1dc81b46dab1225d3c16d1e4.tar.xz
mgaonline-12ee9f8cc71bcc4f1dc81b46dab1225d3c16d1e4.zip
workaround standalone.pm eating "--auto" from @ARGV (broken since 15 Feb 2006)
Diffstat (limited to 'mdkupdate')
-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: