diff options
author | Olivier Thauvin <nanardon@mandriva.org> | 2007-01-24 23:35:22 +0000 |
---|---|---|
committer | Olivier Thauvin <nanardon@mandriva.org> | 2007-01-24 23:35:22 +0000 |
commit | 9cffd9337da043e3282fc5f8ace52e74311007e6 (patch) | |
tree | 594747ade3887aa94d5a6338946a54b4a14fc631 | |
parent | 30d3a9bef357e0df9ee2e10b50fef2e4ccff9fee (diff) | |
download | rpm-setup-9cffd9337da043e3282fc5f8ace52e74311007e6.tar rpm-setup-9cffd9337da043e3282fc5f8ace52e74311007e6.tar.gz rpm-setup-9cffd9337da043e3282fc5f8ace52e74311007e6.tar.bz2 rpm-setup-9cffd9337da043e3282fc5f8ace52e74311007e6.tar.xz rpm-setup-9cffd9337da043e3282fc5f8ace52e74311007e6.zip |
- replace grep A-Z by :upper: to fix matching when using utf8 locales (#23724)
-rwxr-xr-x | find-provides.in | 2 | ||||
-rwxr-xr-x | find-requires.in | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/find-provides.in b/find-provides.in index 3f93304..c593d3c 100755 --- a/find-provides.in +++ b/find-provides.in @@ -46,7 +46,7 @@ done | sort -u # # --- Perl modules. [ -x @RPMVENDORDIR@/perl.prov ] && - echo "$filelist" | tr '[:blank:]' \\n | @RPMVENDORDIR@/perl.prov | grep 'perl([A-Z]' | sort -u + echo "$filelist" | tr '[:blank:]' \\n | @RPMVENDORDIR@/perl.prov | grep 'perl([[:upper:]]' | sort -u # # --- Python modules. diff --git a/find-requires.in b/find-requires.in index ffb23ed..553c34c 100755 --- a/find-requires.in +++ b/find-requires.in @@ -165,7 +165,7 @@ fi # # --- Perl modules. [ -x @RPMVENDORDIR@/perl.req -a -n "$perllist" ] && \ - echo $perllist | tr '[:blank:]' \\n | @RPMVENDORDIR@/perl.req | grep 'perl([A-Z]' | egrep -v '^perl\((Be|FreeBSD|HPUX|Mac|MSDOS|MVS|OS2|Riscos|SGI|Solaris|VMS|Win32|WinNT)::' | sort -u + echo $perllist | tr '[:blank:]' \\n | @RPMVENDORDIR@/perl.req | grep 'perl([[:upper:]]' | egrep -v '^perl\((Be|FreeBSD|HPUX|Mac|MSDOS|MVS|OS2|Riscos|SGI|Solaris|VMS|Win32|WinNT)::' | sort -u # # --- If libperl.so exists and if XS modules are found, depend on libperl.so |