diff options
author | Kim Alvefur <zash@zash.se> | 2013-03-31 20:09:14 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2013-03-31 20:09:14 +0200 |
commit | b9c102c4b595ed1ed9f8877e97456959decf7c80 (patch) | |
tree | 71429cde208bd0c15b1c9698e02d16b933d894d2 /tools/migration/Makefile | |
parent | 259f3e40c1830ba61195ffa78180cb2b16fde730 (diff) | |
download | prosody-b9c102c4b595ed1ed9f8877e97456959decf7c80.tar.gz prosody-b9c102c4b595ed1ed9f8877e97456959decf7c80.zip |
tools/migration/Makefile: Apply Lua runtime override (see 53f741a5a73a)
Diffstat (limited to 'tools/migration/Makefile')
-rw-r--r-- | tools/migration/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/migration/Makefile b/tools/migration/Makefile index 5998a5f7..ae402bd2 100644 --- a/tools/migration/Makefile +++ b/tools/migration/Makefile @@ -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 |