diff options
Diffstat (limited to 'misc')
-rwxr-xr-x | misc/update-glib-annotations.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/misc/update-glib-annotations.py b/misc/update-glib-annotations.py index a65ec30e..813019d0 100755 --- a/misc/update-glib-annotations.py +++ b/misc/update-glib-annotations.py @@ -9,6 +9,11 @@ import sys import subprocess +path=os.path.abspath(os.path.join(os.path.dirname(__file__), '..')) +for k in ['UNINSTALLED_INTROSPECTION_SRCDIR', + 'UNINSTALLED_INTROSPECTION_BUILDDIR']: + if k not in os.environ: + os.environ[k] = path possible_builddirs = ['../_build/', '..', '../../build/'] builddir = None |