summaryrefslogtreecommitdiff
path: root/classes/cpan-base.bbclass
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2009-11-10 22:16:43 +0100
committerKoen Kooi <koen@openembedded.org>2009-11-10 22:16:43 +0100
commit09ebc69351c7e28b57ded8c95ee0d27b065e36a1 (patch)
treed9ee3ecdf3e7f42cf5cbfa120355f405656ec23a /classes/cpan-base.bbclass
parentc028070df436ea6b94395e776c7fd7266b64e0a6 (diff)
perl: complete config.sh fix
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 394539daba..cc0d11e515 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_SYS}/perl/config.sh', d)
try:
f = open(cfg, 'r')
except IOError: