aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2014-03-30 09:16:27 +0100
committerMatthew Wild <mwild1@gmail.com>2014-03-30 09:16:27 +0100
commite980309be346e4229c624f54735b0f82fc7813b4 (patch)
treed79e0182f75a09b6fa6a574c8b1aa3869618f73d /Makefile
parentd3afde34b6983380d992947f65b9085d17e16f18 (diff)
downloadprosody-e980309be346e4229c624f54735b0f82fc7813b4.tar.gz
prosody-e980309be346e4229c624f54735b0f82fc7813b4.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)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index c5390599..a1de1b6d 100644
--- a/Makefile
+++ b/Makefile
@@ -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)';|; \