aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2017-06-24 16:01:57 +0200
committerLeah Neukirchen <leah@vuxu.org>2017-06-24 16:02:05 +0200
commit827c57afb3a572ad32bcf8f667d1a15784f6afac (patch)
tree5760932a7a5b9636d1fba7b9a2ef3bce261098f8
parentc15ed7a16861aaee70f8772c93952e978d20974f (diff)
downloadmblaze-827c57afb3a572ad32bcf8f667d1a15784f6afac.tar.gz
GNUmakefile: fix museragent
-rw-r--r--GNUmakefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 42ff83e..a31cd4b 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -36,7 +36,7 @@ mmime : slurp.o
museragent: FRC
@printf '#!/bin/sh\nprintf "User-Agent: mblaze/%s (%s)\\n"\n' \
- "$$(git describe --always --dirty 2>/dev/null | sed 's/^v//' || cat VERSION)" \
+ "$$({ git describe --always --dirty 2>/dev/null || cat VERSION; } | sed 's/^v//')" \
"$$(date +%Y-%m-%d)" >$@
@chmod +x $@