diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2005-12-22 12:32:24 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2005-12-22 12:32:24 +0000 |
commit | a4797375986c5545dd19a7470351d3febe1a9a6d (patch) | |
tree | 9ad875636a3a667278c582dc0756d10045b24a5a | |
parent | 9e118b16e2a3eb333097be35af6606e72d0ae889 (diff) | |
download | drakx-a4797375986c5545dd19a7470351d3febe1a9a6d.tar drakx-a4797375986c5545dd19a7470351d3febe1a9a6d.tar.gz drakx-a4797375986c5545dd19a7470351d3febe1a9a6d.tar.bz2 drakx-a4797375986c5545dd19a7470351d3febe1a9a6d.tar.xz drakx-a4797375986c5545dd19a7470351d3febe1a9a6d.zip |
add support for $::no_global_argv_parsing, enabling to NOT using common option
managemnt (eg: when using Getopt)
-rw-r--r-- | perl-install/standalone.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/standalone.pm b/perl-install/standalone.pm index 2ffdc883e..ec5b379c5 100644 --- a/perl-install/standalone.pm +++ b/perl-install/standalone.pm @@ -140,6 +140,7 @@ Copyright (C) 1999-2004 Mandriva by <install@mandriva.com> ', $::license, "\n"; } +if (!$::no_global_argv_parsing) { my ($i, @new_ARGV); foreach (@ARGV) { $i++; @@ -171,7 +172,7 @@ foreach (@ARGV) { } @ARGV = @new_ARGV; - +} ################################################################################ |