Permalink
Browse files

autotools: quote $(RELEASE) to avoid syntax errors

Otherwise you may see errors like this:

/bin/bash: -c: line 0: syntax error near unexpected token `('
/bin/bash: -c: line 0: `echo "  GEN   " munin-node-c.1;pod2man --section=1 --release=0.0.6-(detached-2013-10-24-c33-g3889db3 --center="Munin C Documentation" munin-node-c.pod > munin-node-c.1'
  • Loading branch information...
1 parent c3af4cb commit 7edf0e4a968042411c2f795b59ccebf3bb317e8f @helmutg helmutg committed Oct 24, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 common.am
View
@@ -1,5 +1,5 @@
MANCENTER="Munin C Documentation"
-RELEASE=$(shell $(top_srcdir)/getversion)
+RELEASE="$(shell $(top_srcdir)/getversion)"
%.1:%.pod
$(AM_V_GEN)pod2man --section=1 --release=$(RELEASE) --center=$(MANCENTER) $< > $@

0 comments on commit 7edf0e4

Please sign in to comment.