aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2015-09-21 23:00:49 +0200
committerKim Alvefur <zash@zash.se>2015-09-21 23:00:49 +0200
commitf2bb3380518228e578e43c51aae4fe41601c25f6 (patch)
treefba6536587e39af4df7a051fa01fde3172846413 /Makefile
parent27ded264411da3caa885ef86a07f72da8376a438 (diff)
downloadprosody-f2bb3380518228e578e43c51aae4fe41601c25f6.tar.gz
prosody-f2bb3380518228e578e43c51aae4fe41601c25f6.zip
Makefile: Fix building prosody.version (.hg/dirstate is a file, not a directory)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 492d7ea5..e7a36ffe 100644
--- a/Makefile
+++ b/Makefile
@@ -66,7 +66,7 @@ prosody.cfg.lua.install: prosody.cfg.lua.dist
sed 's|certs/|$(INSTALLEDCONFIG)/certs/|' $^ > $@
prosody.version: $(wildcard prosody.release .hg/dirstate)
- test -d .hg/dirstate && \
+ test -f .hg/dirstate && \
hexdump -n6 -e'6/1 "%02x"' .hg/dirstate > $@ || true
test -f prosody.release && \
cp prosody.release $@ || true