From 92d3c1fcf27596de932cfac791e81a4ee56cc0a3 Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Wed, 21 Apr 2010 22:24:09 +0000 Subject: [PATCH] As corrected in the Surfer project --- po/gettext.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/po/gettext.sh b/po/gettext.sh index 71abf2e..ea0056c 100755 --- a/po/gettext.sh +++ b/po/gettext.sh @@ -61,7 +61,8 @@ _gettext_pot() #main if [ $# -eq 4 -a "$1" = "-p" -a "$3" = "install" ]; then - #PREFIX="$2" XXX doesn't work atm + PREFIX="$2" + LOCALEDIR="$PREFIX/share/locale" lang="${4%%.mo}" $DEBUG $MKDIR "$LOCALEDIR/$lang/LC_MESSAGES" || exit 2