Browse Source

Fixed argument passing to unix runtime.

master
MagicBot 2 years ago
parent
commit
fe87253a86
  1. 8
      src/discord/handlers/DevRequestHandler.java

8
src/discord/handlers/DevRequestHandler.java

@ -40,16 +40,16 @@ public class DevRequestHandler {
switch (serverCommand) { switch (serverCommand) {
case "build" : case "build" :
execString = "/bin/sh -c ./mbdevbuild.sh"; execString = "mbdevbuild.sh";
break; break;
case "restart": case "restart":
execString = "/bin/sh -c ./mbdevrestart.sh"; execString = "mbdevrestart.sh";
break; break;
case "debug": case "debug":
execString = "/bin/sh -c ./mbdevdebug.sh"; execString = "mbdevdebug.sh";
break; break;
case "shutdown": case "shutdown":
execString = "/bin/sh -c ./mbdevkill.sh"; execString = "mbdevkill.sh";
break; break;
default: default:
break; break;

Loading…
Cancel
Save