diff options
author | Matthew Wild <mwild1@gmail.com> | 2015-09-02 18:54:34 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2015-09-02 18:54:34 +0100 |
commit | 388fa0cd28e4a9911f6d6504e15126071952a453 (patch) | |
tree | dc480f27359d200132a46ba3456104b241a5945d /Makefile | |
parent | 15be099575baac2055c3ce00b4855f2ff48dd620 (diff) | |
download | prosody-388fa0cd28e4a9911f6d6504e15126071952a453.tar.gz prosody-388fa0cd28e4a9911f6d6504e15126071952a453.zip |
configure, Makefile: Make compatible with plain Bourne shell as used on Solaris. Fixes #418 (thanks jcea)
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -41,8 +41,8 @@ install: prosody.install prosodyctl.install prosody.cfg.lua.install util/encodin umask 0022 && cp -r plugins/* $(MODULES) 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 -m644 prosody.version $(SOURCE)/prosody.version || true + test -f $(CONFIG)/prosody.cfg.lua || install -m644 prosody.cfg.lua.install $(CONFIG)/prosody.cfg.lua + test -f prosody.version && install -m644 prosody.version $(SOURCE)/prosody.version || true $(MAKE) install -C util-src clean: @@ -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 -e .hg/dirstate && \ + test -d .hg/dirstate && \ hexdump -n6 -e'6/1 "%02x"' .hg/dirstate > $@ || true test -f prosody.release && \ cp prosody.release $@ || true |