summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-03-03 19:32:51 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-03-03 19:32:51 -0500
commitf2543b4d43ff7585db3cd6ebe561d5533a0f77b9 (patch)
treea432fd844e09f499762a45ea00571b45c81542d2
parent7d840bf7593d0be3e3e38ce96bec3e7ef5160d59 (diff)
fix generating blacklist.sh.pot
-rw-r--r--src/lib/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Makefile b/src/lib/Makefile
index f9ec1e8..ec5a438 100644
--- a/src/lib/Makefile
+++ b/src/lib/Makefile
@@ -31,7 +31,7 @@ $(outdir)/blacklist.sh.pot: $(srcdir)/blacklist.sh $(srcdir)/librexgettext
@{ \
sed -n '/^# Usage:/,/()/{ /^#/ { =; p; } }' $< | \
sed -r -e 's/^# (.*)/msgid "\1"\nmsgstr ""\n/' \
- -e 's/^[0-9]*$$/#. embedded usage text\n#: $<:&/' && \
+ -e 's|^[0-9]*$$|#. embedded usage text\n#: $<:&|' && \
$(<D)/librexgettext --simple=_l:2 $< && \
:; } | $(pofmt) > $@
$(outdir)/common.sh.pot : LIBREXGETTEXT_FLAGS += --simple=_l:2