Install the translation data to the right place

This commit is contained in:
Pierre Pronchery 2010-04-21 22:20:05 +00:00
parent a9d38c0cb2
commit d723c6eb1e

View File

@ -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