summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorVincent Untz <vuntz@gnome.org>2011-07-27 17:07:21 (GMT)
committerColin Walters <walters@verbum.org>2011-07-27 18:40:54 (GMT)
commit8b26a23fc74eb54775688436116c92888a301477 (patch)
treebabef03acf112d345c974ed2c7ad2243f29a94b4 /tools
parent6937ba22b391347687b97cdb81e01b4ac2cab23b (diff)
downloadgobject-introspection-8b26a23fc74eb54775688436116c92888a301477.tar.gz
gobject-introspection-8b26a23fc74eb54775688436116c92888a301477.tar.xz
Fix broken DATADIR definition after config.py was killed
https://bugzilla.gnome.org/show_bug.cgi?id=655437
Diffstat (limited to 'tools')
-rwxr-xr-xtools/g-ir-annotation-tool.in2
-rwxr-xr-xtools/g-ir-scanner.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/g-ir-annotation-tool.in b/tools/g-ir-annotation-tool.in
index 49d0b99..5668cbe 100755
--- a/tools/g-ir-annotation-tool.in
+++ b/tools/g-ir-annotation-tool.in
@@ -23,7 +23,7 @@ import os
import sys
import __builtin__
-__builtin__.__dict__['DATADIR'] = "@pkgdatadir@"
+__builtin__.__dict__['DATADIR'] = "@datarootdir@"
if 'GI_SCANNER_DEBUG' in os.environ:
def on_exception(exctype, value, tb):
diff --git a/tools/g-ir-scanner.in b/tools/g-ir-scanner.in
index 6f2b83e..f709683 100755
--- a/tools/g-ir-scanner.in
+++ b/tools/g-ir-scanner.in
@@ -23,7 +23,7 @@ import os
import sys
import __builtin__
-__builtin__.__dict__['DATADIR'] = "@pkgdatadir@"
+__builtin__.__dict__['DATADIR'] = "@datarootdir@"
if 'GI_SCANNER_DEBUG' in os.environ:
def on_exception(exctype, value, tb):