As corrected in the Surfer project

This commit is contained in:
Pierre Pronchery 2010-04-21 22:24:09 +00:00
parent 1c2983271b
commit 92d3c1fcf2

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