summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/cmake
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/cmake')
-rw-r--r--meta/recipes-devtools/cmake/cmake_2.8.10.2.bb4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-devtools/cmake/cmake_2.8.10.2.bb b/meta/recipes-devtools/cmake/cmake_2.8.10.2.bb
index ce398ddc1b..65f75b4dca 100644
--- a/meta/recipes-devtools/cmake/cmake_2.8.10.2.bb
+++ b/meta/recipes-devtools/cmake/cmake_2.8.10.2.bb
@@ -17,11 +17,11 @@ python () {
17 docdir=d.getVar("docdir", True) 17 docdir=d.getVar("docdir", True)
18 18
19 if not docdir.startswith(prefix): 19 if not docdir.startswith(prefix):
20 raise bb.build.FuncFailed('docdir must contain prefix as its prefix') 20 raise bb.build.FuncFailed('docdir must contain prefix as its prefix')
21 21
22 docdir_stripped = docdir[len(prefix):] 22 docdir_stripped = docdir[len(prefix):]
23 if len(docdir_stripped) > 0 and docdir_stripped[0] == '/': 23 if len(docdir_stripped) > 0 and docdir_stripped[0] == '/':
24 docdir_stripped = docdir_stripped[1:] 24 docdir_stripped = docdir_stripped[1:]
25 25
26 d.setVar("docdir_stripped", docdir_stripped) 26 d.setVar("docdir_stripped", docdir_stripped)
27} 27}