aboutsummaryrefslogtreecommitdiffstats
path: root/find-requires.in
diff options
context:
space:
mode:
authorJérôme Quelin <jquelin@mandriva.org>2010-03-12 17:19:18 +0000
committerJérôme Quelin <jquelin@mandriva.org>2010-03-12 17:19:18 +0000
commitdf46e5409e9e3fb077ad49e4651109de3d253b8c (patch)
tree8c9424e01eec0ba7107955f00bb12e904d2047d2 /find-requires.in
parent33fd2a801db8886297d313c71d8d74d8cdb87417 (diff)
downloadrpm-setup-df46e5409e9e3fb077ad49e4651109de3d253b8c.tar
rpm-setup-df46e5409e9e3fb077ad49e4651109de3d253b8c.tar.gz
rpm-setup-df46e5409e9e3fb077ad49e4651109de3d253b8c.tar.bz2
rpm-setup-df46e5409e9e3fb077ad49e4651109de3d253b8c.tar.xz
rpm-setup-df46e5409e9e3fb077ad49e4651109de3d253b8c.zip
meta file is listed as an absolute path, not relative to BUILD root
Diffstat (limited to 'find-requires.in')
-rwxr-xr-xfind-requires.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/find-requires.in b/find-requires.in
index 66e80e3..9d5e841 100755
--- a/find-requires.in
+++ b/find-requires.in
@@ -178,7 +178,7 @@ fi
#
# --- Perl modules.
-perlmeta=$( echo $filelist | tr '[:blank:]' \\n | egrep '^META.(yml|json)' | head -1 )
+perlmeta=$( echo $filelist | tr '[:blank:]' \\n | egrep '/META.(yml|json)$' | head -1 )
if [ -n "$perlmeta" ]
then
[ -x @RPMVENDORDIR@/perl.req-from-meta ] && \