diff options
author | Matthew Wild <mwild1@gmail.com> | 2014-03-30 09:16:27 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2014-03-30 09:16:27 +0100 |
commit | 7f2a6a29b662648c3e5e5bc76e6a79953c870faa (patch) | |
tree | d79e0182f75a09b6fa6a574c8b1aa3869618f73d | |
parent | 36a19e92a778a40cb124f0bad39cb167f6b0f8e2 (diff) | |
download | prosody-7f2a6a29b662648c3e5e5bc76e6a79953c870faa.tar.gz prosody-7f2a6a29b662648c3e5e5bc76e6a79953c870faa.zip |
Makefile: Change sed regex to be compatible with FreeBSD's odd sed, and change / to | to allow paths to be used in RUNWITH (thanks Ben)
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -55,7 +55,7 @@ util/%.so: $(MAKE) install -C util-src %.install: % - sed "1s/\blua\b/$(RUNWITH)/; \ + sed "1s| lua$$| $(RUNWITH)|; \ s|^CFG_SOURCEDIR=.*;$$|CFG_SOURCEDIR='$(INSTALLEDSOURCE)';|; \ s|^CFG_CONFIGDIR=.*;$$|CFG_CONFIGDIR='$(INSTALLEDCONFIG)';|; \ s|^CFG_DATADIR=.*;$$|CFG_DATADIR='$(INSTALLEDDATA)';|; \ |