[glib] glib-gettextize: respect @datadir@ instead of assuming $prefix/share



commit a8c6e306bde67ed4f218b139d76ff9fee4f5fe2f
Author: Ross Burton <ross burton intel com>
Date:   Mon Nov 14 17:07:03 2016 +0000

    glib-gettextize: respect @datadir@ instead of assuming $prefix/share
    
    https://bugzilla.gnome.org/show_bug.cgi?id=774421

 glib-gettextize.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/glib-gettextize.in b/glib-gettextize.in
index 617d6bc..b07078b 100644
--- a/glib-gettextize.in
+++ b/glib-gettextize.in
@@ -51,7 +51,7 @@ esac
 datarootdir=@datarootdir@
 datadir=@datadir@
 
-gettext_dir=$prefix/share/glib-2.0/gettext
+gettext_dir=$datadir/glib-2.0/gettext
 
 while test $# -gt 0; do
   case "$1" in


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]