summaryrefslogtreecommitdiffstats
path: root/book
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2019-02-08 09:41:45 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2019-02-08 09:43:16 +0100
commit6f110ccf6b2a9e142859874e401888dc9c2c2b2f (patch)
tree9b8ee973c91844b7b6e5121b517214041613d382 /book
parentcpu-supplement: Fix file name (diff)
downloadrtems-docs-6f110ccf6b2a9e142859874e401888dc9c2c2b2f.tar.bz2
build: Prepend project common path
This avoids conflicts with standard packages such as PIL (Python Imaging Library).
Diffstat (limited to 'book')
-rw-r--r--book/conf.py2
-rw-r--r--book/wscript2
2 files changed, 2 insertions, 2 deletions
diff --git a/book/conf.py b/book/conf.py
index 4726f1e..01861b3 100644
--- a/book/conf.py
+++ b/book/conf.py
@@ -1,5 +1,5 @@
import sys, os
-sys.path.append(os.path.abspath('../common/'))
+sys.path.insert(0, os.path.abspath('../common/'))
from conf import *
diff --git a/book/wscript b/book/wscript
index 0503604..d1eba3f 100644
--- a/book/wscript
+++ b/book/wscript
@@ -1,6 +1,6 @@
from sys import path
from os.path import abspath, exists
-path.append(abspath('../common/'))
+path.insert(0, abspath('../common/'))
from waf import cmd_configure_path, cmd_build_path, cmd_options_path, spell, cmd_spell