Browse Source

Fix detected po2json version when the module is installed globally.

pull/133/head
Lance Cooper 11 years ago
parent
commit
5dca931ef0
  1. 2
      configure.ac

2
configure.ac

@ -173,7 +173,7 @@ if test x"${NPM}" != x"" ; then @@ -173,7 +173,7 @@ if test x"${NPM}" != x"" ; then
else
AC_MSG_RESULT([ok])
AC_MSG_CHECKING([for version of po2json])
PO2JSON_VERSION=`{ $NPM list --global & $NPM list; } 2>&1 | $GREP po2json | $SED 's/^.*po2json@//'`
PO2JSON_VERSION=`{ $NPM list --global & $NPM list; } 2>&1 | $GREP -v 'required' | $GREP po2json@ | $SED 's/^.*po2json@//'`
AC_MSG_RESULT([$PO2JSON_VERSION])
NODEJS_SUPPORT_PO2JSON=yes
fi

Loading…
Cancel
Save