diff options
author | dobey <> | 2008-11-17 13:38:27 +0000 |
---|---|---|
committer | dobey <> | 2008-11-17 13:38:27 +0000 |
commit | a080f1f606f92511fa6b483218efaa54100969eb (patch) | |
tree | a502ad09a8c75b6a03d14f18bc42ff79d5f99e7f /Makefile.in.in | |
parent | ff5e40b3e280de8220bd9ebbdc23328bed1c54a0 (diff) | |
download | intltool-a080f1f606f92511fa6b483218efaa54100969eb.tar.gz |
2008-11-17 Rodney Dawes <dobey.pwns@gmail.com>
* Makefile.in.in:
Quote the grep arguments that use ^
Fixes #559528
Diffstat (limited to 'Makefile.in.in')
-rw-r--r-- | Makefile.in.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.in.in b/Makefile.in.in index 57ef267..2c3b6e9 100644 --- a/Makefile.in.in +++ b/Makefile.in.in @@ -56,7 +56,7 @@ ALL_LINGUAS = @ALL_LINGUAS@ PO_LINGUAS=$(shell if test -r $(srcdir)/LINGUAS; then grep -v "^\#" $(srcdir)/LINGUAS; else echo "$(ALL_LINGUAS)"; fi) -USER_LINGUAS=$(shell if test -n "$(LINGUAS)"; then LLINGUAS="$(LINGUAS)"; ALINGUAS="$(ALL_LINGUAS)"; for lang in $$LLINGUAS; do if test -n "`grep ^$$lang$$ $(srcdir)/LINGUAS 2>/dev/null`" -o -n "`echo $$ALINGUAS|tr ' ' '\n'|grep ^$$lang$$`"; then printf "$$lang "; fi; done; fi) +USER_LINGUAS=$(shell if test -n "$(LINGUAS)"; then LLINGUAS="$(LINGUAS)"; ALINGUAS="$(ALL_LINGUAS)"; for lang in $$LLINGUAS; do if test -n "`grep '^$$lang$$' $(srcdir)/LINGUAS 2>/dev/null`" -o -n "`echo $$ALINGUAS|tr ' ' '\n'|grep '^$$lang$$'`"; then printf "$$lang "; fi; done; fi) USE_LINGUAS=$(shell if test -n "$(USER_LINGUAS)" -o -n "$(LINGUAS)"; then LLINGUAS="$(USER_LINGUAS)"; else if test -n "$(PO_LINGUAS)"; then LLINGUAS="$(PO_LINGUAS)"; else LLINGUAS="$(ALL_LINGUAS)"; fi; fi; for lang in $$LLINGUAS; do printf "$$lang "; done) |