diff options
Diffstat (limited to 'bitbake')
-rwxr-xr-x | bitbake/bin/bitbake | 2 | ||||
-rwxr-xr-x | bitbake/bin/bitdoc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/bin/bitbake b/bitbake/bin/bitbake index e6ce8d9438..5338868425 100755 --- a/bitbake/bin/bitbake +++ b/bitbake/bin/bitbake | |||
@@ -24,7 +24,7 @@ | |||
24 | 24 | ||
25 | import os | 25 | import os |
26 | import sys, logging | 26 | import sys, logging |
27 | sys.path.insert(0, os.path.join(os.path.dirname(os.path.dirname(sys.argv[0])), | 27 | sys.path.insert(0, os.path.join(os.path.dirname(os.path.dirname(__file__)), |
28 | 'lib')) | 28 | 'lib')) |
29 | 29 | ||
30 | import optparse | 30 | import optparse |
diff --git a/bitbake/bin/bitdoc b/bitbake/bin/bitdoc index 8043b2bd1c..c2a7061d1b 100755 --- a/bitbake/bin/bitdoc +++ b/bitbake/bin/bitdoc | |||
@@ -20,7 +20,7 @@ | |||
20 | import optparse, os, sys | 20 | import optparse, os, sys |
21 | 21 | ||
22 | # bitbake | 22 | # bitbake |
23 | sys.path.append(os.path.join(os.path.dirname(os.path.dirname(sys.argv[0])), 'lib')) | 23 | sys.path.append(os.path.join(os.path.dirname(os.path.dirname(__file__), 'lib')) |
24 | import bb | 24 | import bb |
25 | import bb.parse | 25 | import bb.parse |
26 | from string import split, join | 26 | from string import split, join |