Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@xxxxxxxxx> --- Hard coding path obviously won't fly.. .gitignore | 1 + wrap-for-bin.sh | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/.gitignore b/.gitignore index bb5c91e..f2d0fe5 100644 --- a/.gitignore +++ b/.gitignore @@ -195,6 +195,7 @@ /test-sigchain /test-subprocess /test-svn-fe +/untranslated.log /common-cmds.h *.tar.gz *.dsc diff --git a/wrap-for-bin.sh b/wrap-for-bin.sh index a2d9aef..4dbae80 100644 --- a/wrap-for-bin.sh +++ b/wrap-for-bin.sh @@ -17,6 +17,12 @@ fi GITPERLLIB='@@BUILD_DIR@@/perl/blib/lib' if test -n "$GIT_GETTEXT_POISON" then + if test -x /usr/lib/preloadable_libintl.so + then + GETTEXT_LOG_UNTRANSLATED=@@BUILD_DIR@@/untranslated.log + LD_PRELOAD="/usr/lib/preloadable_libintl.so $LD_PRELOAD" + export LD_PRELOAD GETTEXT_LOG_UNTRANSLATED + fi GIT_TEXTDOMAINDIR='@@BUILD_DIR@@/po/build/pseudo-locale' LANG=$GIT_GETTEXT_POISON unset LC_ALL -- 1.7.12.rc2 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html