summaryrefslogtreecommitdiff
path: root/bitbake/bin/bitdoc
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/bin/bitdoc')
-rwxr-xr-xbitbake/bin/bitdoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/bin/bitdoc b/bitbake/bin/bitdoc
index 8043b2bd1..c2a7061d1 100755
--- a/bitbake/bin/bitdoc
+++ b/bitbake/bin/bitdoc
@@ -20,7 +20,7 @@
import optparse, os, sys
# bitbake
-sys.path.append(os.path.join(os.path.dirname(os.path.dirname(sys.argv[0])), 'lib'))
+sys.path.append(os.path.join(os.path.dirname(os.path.dirname(__file__), 'lib'))
import bb
import bb.parse
from string import split, join