From 87b24a9c7f8dfbd33a73fe439a14b7f98b8f0c78 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Fri, 8 Sep 2006 21:55:12 +0000 Subject: bitbake/trunk/bitbake/bin/bbimage: prepend the path to BitBake instead of appending to fix #1108 We want the 'local' libraries to be loaded before the installed copy. E.g. if you have a old version of BitBake installed but run a newer version from a local directory you want to load the BitBake libraries from the local directory --- bin/bbimage | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin/bbimage') diff --git a/bin/bbimage b/bin/bbimage index df6caa28e..9656c05a0 100755 --- a/bin/bbimage +++ b/bin/bbimage @@ -18,11 +18,11 @@ # Place, Suite 330, Boston, MA 02111-1307 USA. import sys, os -sys.path.append(os.path.join(os.path.dirname(os.path.dirname(sys.argv[0])), 'lib')) +sys.path.insert(0,os.path.join(os.path.dirname(os.path.dirname(sys.argv[0])), 'lib')) import bb from bb import * -__version__ = 1.0 +__version__ = 1.1 type = "jffs2" cfg_bb = data.init() cfg_oespawn = data.init() -- cgit 1.2.3-korg