Makefile: Specify explicit mode when installing prosody.version, to avoid it defaulti...
authorMatthew Wild <mwild1@gmail.com>
Mon, 15 Apr 2013 11:30:40 +0000 (12:30 +0100)
committerMatthew Wild <mwild1@gmail.com>
Mon, 15 Apr 2013 11:30:40 +0000 (12:30 +0100)
Makefile

index 0e69192aecf6a4abbc608a2814164a0ea500bf4d..b96b6732cda003320a38162cbf164ed5b3f8ee28 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -38,7 +38,7 @@ install: prosody.install prosodyctl.install prosody.cfg.lua.install util/encodin
        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: