# HG changeset patch # User Kim Alvefur # Date 1364753354 -7200 # Node ID cb6f0afd8468fd4e6e0c3eae503fdb5db662ad6a # Parent 456c1998638d0ab8672062a0c1cd68990f3252ed tools/migration/Makefile: Apply Lua runtime override (see 53f741a5a73a) diff -r 456c1998638d -r cb6f0afd8468 tools/migration/Makefile --- a/tools/migration/Makefile Sun Mar 31 20:04:09 2013 +0200 +++ b/tools/migration/Makefile Sun Mar 31 20:09:14 2013 +0200 @@ -29,7 +29,8 @@ rm -f migrator.cfg.lua.install prosody-migrator.install: prosody-migrator.lua - sed "s|^CFG_SOURCEDIR=.*;$$|CFG_SOURCEDIR='$(INSTALLEDSOURCE)';|; \ + sed "1s/\blua\b/$(RUNWITH)/; \ + s|^CFG_SOURCEDIR=.*;$$|CFG_SOURCEDIR='$(INSTALLEDSOURCE)';|; \ s|^CFG_CONFIGDIR=.*;$$|CFG_CONFIGDIR='$(INSTALLEDCONFIG)';|;" \ < prosody-migrator.lua > prosody-migrator.install