summaryrefslogtreecommitdiff
path: root/classes/cpan-base.bbclass
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2008-10-07 09:13:31 +0000
committerKoen Kooi <koen@openembedded.org>2008-10-07 09:13:31 +0000
commit23f9d417abc9370bd7495622f84c990f718e7bf5 (patch)
tree028883539296336f8f5e22c3f02e6a22ae46b81e /classes/cpan-base.bbclass
parent92eaf30453ac777faf241fe5c1c480e274997226 (diff)
cpan* bbclass: fix for staging layout changes
sdk bblcass: ditto, this time the fix is from poky
Diffstat (limited to 'classes/cpan-base.bbclass')
-rw-r--r--classes/cpan-base.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/cpan-base.bbclass b/classes/cpan-base.bbclass
index cc0d11e515..19d431ce72 100644
--- a/classes/cpan-base.bbclass
+++ b/classes/cpan-base.bbclass
@@ -10,7 +10,7 @@ RDEPENDS += "${@["perl", ""][(bb.data.inherits_class('native', d))]}"
# Determine the staged version of perl from the perl configuration file
def get_perl_version(d):
import os, bb, re
- cfg = bb.data.expand('${STAGING_DIR}/${HOST_SYS}/perl/config.sh', d)
+ cfg = bb.data.expand('${STAGING_DIR_HOST}/perl/config.sh', d)
try:
f = open(cfg, 'r')
except IOError: