aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/environment.py
diff options
context:
space:
mode:
Diffstat (limited to 'mesonbuild/environment.py')
-rw-r--r--mesonbuild/environment.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/mesonbuild/environment.py b/mesonbuild/environment.py
index c4591b4..a0f410a 100644
--- a/mesonbuild/environment.py
+++ b/mesonbuild/environment.py
@@ -131,7 +131,8 @@ class Environment():
coredata.save(self.coredata, cdf)
def get_script_dir(self):
- return os.path.join(os.path.dirname(self.meson_script_file), '../scripts')
+ import mesonbuild.scripts
+ return os.path.dirname(mesonbuild.scripts.__file__)
def get_log_dir(self):
return self.log_dir