diff options
author | Bruno Haible <bruno@clisp.org> | 2003-03-17 09:38:55 +0000 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2009-06-23 12:10:16 +0200 |
commit | e71d76e1cdca1bcdbb9c0dbbeb49e8921a6289ba (patch) | |
tree | d990a6fe9a5a1eb1a290ca693376e2cad861760e /gettext-tools/src/msggrep.c | |
parent | 5967fb4853108dfc88b79a05a74df4571d262b39 (diff) | |
download | external_gettext-e71d76e1cdca1bcdbb9c0dbbeb49e8921a6289ba.zip external_gettext-e71d76e1cdca1bcdbb9c0dbbeb49e8921a6289ba.tar.gz external_gettext-e71d76e1cdca1bcdbb9c0dbbeb49e8921a6289ba.tar.bz2 |
Support for relocatable installation.
Diffstat (limited to 'gettext-tools/src/msggrep.c')
-rw-r--r-- | gettext-tools/src/msggrep.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gettext-tools/src/msggrep.c b/gettext-tools/src/msggrep.c index 5306ab9..fe35e27 100644 --- a/gettext-tools/src/msggrep.c +++ b/gettext-tools/src/msggrep.c @@ -39,6 +39,7 @@ #include "dir-list.h" #include "error.h" #include "progname.h" +#include "relocatable.h" #include "basename.h" #include "message.h" #include "read-po.h" @@ -143,7 +144,7 @@ main (int argc, char **argv) #endif /* Set the text message domain. */ - bindtextdomain (PACKAGE, LOCALEDIR); + bindtextdomain (PACKAGE, relocate (LOCALEDIR)); textdomain (PACKAGE); /* Set default values for variables. */ |