bitbake/trunk/bitbake/bin/bbimage: prepend the path to BitBake instead of appending...
authorHolger Hans Peter Freyther <zecke@selfish.org>
Fri, 8 Sep 2006 21:55:12 +0000 (21:55 +0000)
committerHolger Hans Peter Freyther <zecke@selfish.org>
Fri, 8 Sep 2006 21:55:12 +0000 (21:55 +0000)
    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

index df6caa2..9656c05 100755 (executable)
 # 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()