tools/migration/Makefile: Apply Lua runtime override (see 53f741a5a73a)

This commit is contained in:
Kim Alvefur 2013-03-31 20:09:14 +02:00
parent 870e087fd7
commit 4d156831cb

View file

@ -29,7 +29,8 @@ clean:
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