From: Simon Glass Date: Sun, 18 Sep 2016 22:48:34 +0000 (-0600) Subject: buildman: Put our local libraries first in the path X-Git-Tag: v2016.11-rc2~10^2~40 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a556eeebaada39d0d53941b4d18e5b6ea338c2cf;p=u-boot 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 --- 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