# HG changeset patch # User Matthew Wild # Date 1396167387 -3600 # Node ID 1ce05d38d1bb20749cf8ae2c67210857e778f64e # Parent 29d2dd705148fde5f5524d97113d0e27e0694189 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) diff -r 29d2dd705148 -r 1ce05d38d1bb Makefile --- 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)';|; \