aboutsummaryrefslogtreecommitdiffstats
path: root/perl.req
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-07-11 12:22:49 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-07-11 12:22:49 +0000
commitfc41baeb28af25f1d1f05a9ee8e27dd57a42f093 (patch)
tree41075921cee8bfd60a8fa12d32f04f4ef7360efd /perl.req
parent843c434e2395cf31ad40836f42fe788bf92bf0e0 (diff)
downloadrpm-setup-fc41baeb28af25f1d1f05a9ee8e27dd57a42f093.tar
rpm-setup-fc41baeb28af25f1d1f05a9ee8e27dd57a42f093.tar.gz
rpm-setup-fc41baeb28af25f1d1f05a9ee8e27dd57a42f093.tar.bz2
rpm-setup-fc41baeb28af25f1d1f05a9ee8e27dd57a42f093.tar.xz
rpm-setup-fc41baeb28af25f1d1f05a9ee8e27dd57a42f093.zip
There might be a comment on a "use base" line when computing perl requires
(bug #24193). (re-sync after the big svn loss)
Diffstat (limited to 'perl.req')
-rwxr-xr-xperl.req1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl.req b/perl.req
index 6e9a7ee..2a4a320 100755
--- a/perl.req
+++ b/perl.req
@@ -184,6 +184,7 @@ sub process_file {
$module =~ s/qw\((.*)\)\s*;/$1/;
$module =~ s/qw(.)(.*)\1\s*;/$2/;
$module =~ s/\s*;$//;
+ $module =~ s/#.*//;
$usebase = 1;
}
# sometimes people do use POSIX qw(foo), or use POSIX(qw(foo)) etc