Changeset

6840:eeefe8d42b8b

Makefile: Fix building prosody.version (.hg/dirstate is a file, not a directory)
author Kim Alvefur <zash@zash.se>
date Mon, 21 Sep 2015 23:00:49 +0200
parents 6838:229e95aecf41
children 6841:be87ab2d611c
files Makefile
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Fri Sep 18 16:16:10 2015 +0200
+++ b/Makefile	Mon Sep 21 23:00:49 2015 +0200
@@ -66,7 +66,7 @@
 	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