summaryrefslogtreecommitdiffstats
path: root/shell
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 /shell
parent0e46b342d01fe8c4e29315288f8fc4f286d90926 (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 'shell')
-rw-r--r--shell/conf.py2
-rw-r--r--shell/wscript2
2 files changed, 2 insertions, 2 deletions
diff --git a/shell/conf.py b/shell/conf.py
index 00029bc..ca84ce0 100644
--- a/shell/conf.py
+++ b/shell/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/shell/wscript b/shell/wscript
index 26ab0ca..1cb5736 100644
--- a/shell/wscript
+++ b/shell/wscript
@@ -1,6 +1,6 @@
from sys import path
from os.path import abspath
-path.append(abspath('../common/'))
+path.insert(0, abspath('../common/'))
from waf import cmd_configure as configure
from waf import cmd_build as build