Software /
code /
prosody
Diff
Makefile @ 6044:1ce05d38d1bb
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)
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sun, 30 Mar 2014 09:16:27 +0100 |
parent | 5933:56b1f151f4a3 |
child | 6406:f04a6c700b2f |
child | 6574:cd0088c73daf |
line wrap: on
line diff
--- a/Makefile Sun Mar 30 09:15:28 2014 +0100 +++ b/Makefile Sun Mar 30 09:16:27 2014 +0100 @@ -55,7 +55,7 @@ $(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)';|; \