dont assume bash when creating rest users
This commit is contained in:
parent
4c79e3bd0d
commit
7fbfe3159a
1 changed files with 2 additions and 2 deletions
|
@ -63,9 +63,9 @@ module.exports = class RestSessionCreator {
|
||||||
const registerCmd = `./scripts/register_new_matrix_user ${registerArgs.join(' ')}`;
|
const registerCmd = `./scripts/register_new_matrix_user ${registerArgs.join(' ')}`;
|
||||||
const allCmds = [
|
const allCmds = [
|
||||||
`cd ${this.synapseSubdir}`,
|
`cd ${this.synapseSubdir}`,
|
||||||
"source env/bin/activate",
|
". env/bin/activate",
|
||||||
registerCmd
|
registerCmd
|
||||||
].join(';');
|
].join('&&');
|
||||||
|
|
||||||
await execAsync(allCmds, {cwd: this.cwd, encoding: 'utf-8'});
|
await execAsync(allCmds, {cwd: this.cwd, encoding: 'utf-8'});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue