diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2006-04-03 14:01:59 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2006-04-03 14:01:59 +0000 |
commit | 3131afc3fc913934425909526bf4ee75ee8cd72b (patch) | |
tree | df53239835904399a2a34be23a863e33a3a93f9a | |
parent | 54108a07c2b4f8c5ca697851d0077936b93160d6 (diff) | |
download | mgaonline-3131afc3fc913934425909526bf4ee75ee8cd72b.tar mgaonline-3131afc3fc913934425909526bf4ee75ee8cd72b.tar.gz mgaonline-3131afc3fc913934425909526bf4ee75ee8cd72b.tar.bz2 mgaonline-3131afc3fc913934425909526bf4ee75ee8cd72b.tar.xz mgaonline-3131afc3fc913934425909526bf4ee75ee8cd72b.zip |
proper way for preventing standalone from parsing @ARGV
-rwxr-xr-x | mdkupdate | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -21,8 +21,7 @@ ################################################################################ # workaround standalone.pm eating "--auto" from @ARGV: -my @REAL_ARGV; -BEGIN { @REAL_ARGV = @ARGV }; +BEGIN { $::no_global_argv_parsing = 1 }; use strict; use POSIX; @@ -93,7 +92,6 @@ my %options = ( 'h|help' => \&usage, ); -@ARGV = @REAL_ARGV; GetOptions(%options); # workaround an issue with browsers that sometimes drop the --bundle option: |