summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2005-12-22 12:32:24 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2005-12-22 12:32:24 +0000
commita4797375986c5545dd19a7470351d3febe1a9a6d (patch)
tree9ad875636a3a667278c582dc0756d10045b24a5a /perl-install/standalone.pm
parent9e118b16e2a3eb333097be35af6606e72d0ae889 (diff)
downloaddrakx-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)
Diffstat (limited to 'perl-install/standalone.pm')
-rw-r--r--perl-install/standalone.pm3
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;
-
+}
################################################################################