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 | 164fc6ef33b420d0e62833ae3b830a3b235b17bc (patch) | |
tree | 71429cde208bd0c15b1c9698e02d16b933d894d2 | |
parent | 98094b51f3d4e03657ef05e410eace7e5e8c8fa5 (diff) | |
download | prosody-164fc6ef33b420d0e62833ae3b830a3b235b17bc.tar.gz prosody-164fc6ef33b420d0e62833ae3b830a3b235b17bc.zip |
tools/migration/Makefile: Apply Lua runtime override (see 53f741a5a73a)
-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 |