diff options
Diffstat (limited to 'scripts/wic')
-rwxr-xr-x | scripts/wic | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/wic b/scripts/wic index dcf1a5520e..fd4a67892b 100755 --- a/scripts/wic +++ b/scripts/wic | |||
@@ -38,7 +38,7 @@ import optparse | |||
38 | import logging | 38 | import logging |
39 | 39 | ||
40 | # External modules | 40 | # External modules |
41 | scripts_path = os.path.abspath(os.path.dirname(os.path.abspath(sys.argv[0]))) | 41 | scripts_path = os.path.abspath(os.path.dirname(__file__)) |
42 | lib_path = scripts_path + '/lib' | 42 | lib_path = scripts_path + '/lib' |
43 | bitbake_path = os.path.join(scripts_path, '../bitbake/lib') | 43 | bitbake_path = os.path.join(scripts_path, '../bitbake/lib') |
44 | sys.path = sys.path + [lib_path, bitbake_path] | 44 | sys.path = sys.path + [lib_path, bitbake_path] |