Changeset

5472:7c631ef43b11

Makefile: Specify explicit mode when installing prosody.version, to avoid it defaulting to something nasty (executable)
author Matthew Wild <mwild1@gmail.com>
date Mon, 15 Apr 2013 12:30:40 +0100
parents 5471:34bfd26525f5
children 5473:3db05041c278 5474:11f08a27c417
files Makefile
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Fri Apr 12 20:26:35 2013 +0100
+++ b/Makefile	Mon Apr 15 12:30:40 2013 +0100
@@ -38,7 +38,7 @@
 	install -m644 certs/* $(CONFIG)/certs
 	install -m644 man/prosodyctl.man $(MAN)/man1/prosodyctl.1
 	test -e $(CONFIG)/prosody.cfg.lua || install -m644 prosody.cfg.lua.install $(CONFIG)/prosody.cfg.lua
-	test -e prosody.version && install prosody.version $(SOURCE)/prosody.version || true
+	test -e prosody.version && install -m644 prosody.version $(SOURCE)/prosody.version || true
 	$(MAKE) install -C util-src
 
 clean: