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
commit8724d6b9db027f8450af4d470a54dee7e64bf885 (patch)
treefba6536587e39af4df7a051fa01fde3172846413 /Makefile
parentf2c69ab1c34060bafbf172915bc8c160bb086af2 (diff)
downloadprosody-8724d6b9db027f8450af4d470a54dee7e64bf885.tar.gz
prosody-8724d6b9db027f8450af4d470a54dee7e64bf885.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