diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-16 10:56:17 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-16 10:56:17 +0000 |
commit | 7acfa9467f7acb4d15663ed81b46cc88fd1bd6a8 (patch) | |
tree | df62c5b38a72b8f2b654e6d17ed1204763c26ce7 /meta/classes/cpan-base.bbclass | |
parent | 5c0111cb9db0162d111eed41540de6a702b68e58 (diff) | |
download | poky-7acfa9467f7acb4d15663ed81b46cc88fd1bd6a8.tar.gz |
perl: Standardise config.sh location
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/classes/cpan-base.bbclass')
-rw-r--r-- | meta/classes/cpan-base.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/cpan-base.bbclass b/meta/classes/cpan-base.bbclass index 919a9b06a5..82fd5b459a 100644 --- a/meta/classes/cpan-base.bbclass +++ b/meta/classes/cpan-base.bbclass | |||
@@ -10,7 +10,7 @@ RDEPENDS += "${@["perl", ""][(bb.data.inherits_class('native', d))]}" | |||
10 | # Determine the staged version of perl from the perl configuration file | 10 | # Determine the staged version of perl from the perl configuration file |
11 | def get_perl_version(d): | 11 | def get_perl_version(d): |
12 | import re | 12 | import re |
13 | cfg = bb.data.expand('${STAGING_DIR}/${HOST_SYS}/perl/config.sh', d) | 13 | cfg = bb.data.expand('${STAGING_LIBDIR}/perl/config.sh', d) |
14 | try: | 14 | try: |
15 | f = open(cfg, 'r') | 15 | f = open(cfg, 'r') |
16 | except IOError: | 16 | except IOError: |