[geany/geany-plugins] c4b0cb: Fix build failure if no translation matching LINGUAS (#477)
Chris Mayo
git-noreply at geany.org
Sun Nov 13 17:32:26 UTC 2016
Branch: refs/heads/master
Author: Chris Mayo <aklhfex at gmail.com>
Committer: Frank Lanitz <frank at frank.uvena.de>
Date: Sun, 13 Nov 2016 17:32:26 UTC
Commit: c4b0cb9cd2d6d621e65e0481085e693ba355362e
https://github.com/geany/geany-plugins/commit/c4b0cb9cd2d6d621e65e0481085e693ba355362e
Log Message:
-----------
Fix build failure if no translation matching LINGUAS (#477)
Modified Paths:
--------------
build/i18n.m4
Modified: build/i18n.m4
11 lines changed, 3 insertions(+), 8 deletions(-)
===================================================================
@@ -1,14 +1,9 @@
AC_DEFUN([GP_I18N],
[
- if test -n "${LINGUAS}"
- then
- ALL_LINGUAS="${LINGUAS}"
- else
- if test -z "$conf_dir" ; then
- conf_dir="."
- fi
- ALL_LINGUAS=`cd "$conf_dir/po" 2>/dev/null && ls *.po 2>/dev/null | $AWK 'BEGIN { FS="."; ORS=" " } { print $[1] }'`
+ if test -z "$conf_dir" ; then
+ conf_dir="."
fi
+ ALL_LINGUAS=`cd "$conf_dir/po" 2>/dev/null && ls *.po 2>/dev/null | $AWK 'BEGIN { FS="."; ORS=" " } { print $[1] }'`
GETTEXT_PACKAGE=geany-plugins
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED(
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
More information about the Plugins-Commits
mailing list