Makefile: Specify explicit mode when installing prosody.version, to avoid it defaulting to something nasty (executable)
authorMatthew Wild <mwild1@gmail.com>
Mon, 15 Apr 2013 12:30:40 +0100
changeset 5472 7c631ef43b11
parent 5471 34bfd26525f5
child 5473 3db05041c278
child 5474 11f08a27c417
Makefile: Specify explicit mode when installing prosody.version, to avoid it defaulting to something nasty (executable)
Makefile
--- 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: