diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2006-03-31 17:24:32 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2006-03-31 17:24:32 +0000 |
commit | 12ee9f8cc71bcc4f1dc81b46dab1225d3c16d1e4 (patch) | |
tree | b0f0252f962b593a19f05e61207f93146e3f8293 /mdkupdate | |
parent | 6633f037f42e4f60a59f300ef18bc18543570bc1 (diff) | |
download | mgaonline-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-x | mdkupdate | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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: |