Skip to content

Commit db5b3a1

Browse files
Fix default rabbitmqctl location for erlang.mk
1 parent a5aea96 commit db5b3a1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

projects/client/Unit/src/unit/Fixtures.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -402,11 +402,11 @@ protected Process ExecRabbitMQCtl(string args)
402402
}
403403
else if (IsRunningOnMono())
404404
{
405-
rabbitmqctlPath = "../../../../../../rabbitmq-server/scripts/rabbitmqctl";
405+
rabbitmqctlPath = "../../../../../../rabbit/scripts/rabbitmqctl";
406406
}
407407
else
408408
{
409-
rabbitmqctlPath = @"..\..\..\..\..\..\rabbitmq-server\scripts\rabbitmqctl.bat";
409+
rabbitmqctlPath = @"..\..\..\..\..\..\rabbit\scripts\rabbitmqctl.bat";
410410
}
411411

412412
return ExecCommand(rabbitmqctlPath, args);
@@ -442,7 +442,7 @@ protected Process ExecCommand(string ctl, string args, string changeDirTo)
442442
cmd = ctl;
443443
} else {
444444
cmd = "cmd.exe";
445-
args = "/c \"\"" + ctl + "\" -n rabbit@" + (Environment.GetEnvironmentVariable("COMPUTERNAME")) + " " + args + "\"";
445+
args = "/c \"\"" + ctl + "\" -n rabbit@" + (Environment.GetEnvironmentVariable("COMPUTERNAME").ToLower()) + " " + args + "\"";
446446
}
447447

448448
try {

0 commit comments

Comments
 (0)