updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / bitbake / local-version.patch
blob00070e2a40038470d570617533955a31a6957e15
1 Prefer the local Bitbake in the search path
3 Otherwise this picks up the version number of any Bitbake currently installed
4 instead of this package’s version.
5 --- orig 2011-11-05 00:36:54.000000000 +0000
6 +++ setup.py 2011-11-05 00:37:16.000000000 +0000
7 @@ -18,7 +18,7 @@
8 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
10 import os, sys
11 -sys.path.append(os.path.join(os.path.dirname(__file__), "lib"))
12 +sys.path.insert(0, os.path.join(os.path.dirname(__file__), "lib"))
13 from bb import __version__
15 from glob import glob