summaryrefslogtreecommitdiff
path: root/tools/buildman
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-09-18 16:48:34 -0600
committersjg <sjg@chromium.org>2016-10-09 09:30:32 -0600
commita556eeebaada39d0d53941b4d18e5b6ea338c2cf (patch)
tree2c2c9a07d2b1e35d1e3b57843f2cfe7662efcb31 /tools/buildman
parent745b395aefcd7e4718f6f51167c0e462931842b6 (diff)
buildman: Put our local libraries first in the path
If patman is installed on the machine (e.g. in the standard dist-packages directory), it will find libraries from there in preference to our local libraries. Adjust the order of the path to ensure that local libraries are found first. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/buildman')
-rwxr-xr-xtools/buildman/buildman.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/buildman/buildman.py b/tools/buildman/buildman.py
index d0afeda6c0..607429df7b 100755
--- a/tools/buildman/buildman.py
+++ b/tools/buildman/buildman.py
@@ -15,7 +15,7 @@ import unittest
# Bring in the patman libraries
our_path = os.path.dirname(os.path.realpath(__file__))
-sys.path.append(os.path.join(our_path, '../patman'))
+sys.path.insert(1, os.path.join(our_path, '../patman'))
# Our modules
import board