summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/cmake/cmake_3.6.1.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/cmake/cmake_3.6.1.bb')
-rw-r--r--meta/recipes-devtools/cmake/cmake_3.6.1.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/cmake/cmake_3.6.1.bb b/meta/recipes-devtools/cmake/cmake_3.6.1.bb
index 67ba9c473d..850d6de231 100644
--- a/meta/recipes-devtools/cmake/cmake_3.6.1.bb
+++ b/meta/recipes-devtools/cmake/cmake_3.6.1.bb
@@ -14,7 +14,7 @@ python () {
14 docdir=d.getVar("docdir", True) 14 docdir=d.getVar("docdir", True)
15 15
16 if not docdir.startswith(prefix): 16 if not docdir.startswith(prefix):
17 raise bb.build.FuncFailed('docdir must contain prefix as its prefix') 17 bb.fatal('docdir must contain prefix as its prefix')
18 18
19 docdir_stripped = docdir[len(prefix):] 19 docdir_stripped = docdir[len(prefix):]
20 if len(docdir_stripped) > 0 and docdir_stripped[0] == '/': 20 if len(docdir_stripped) > 0 and docdir_stripped[0] == '/':