mirror of
https://github.com/TheDeus-Group/TFM-4.3-Reloaded.git
synced 2024-12-22 22:04:57 +00:00
Remove quotes
This commit is contained in:
parent
27033345ba
commit
f8d8cbf362
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ public class Command_updatetfm extends FreedomCommand {
|
|||
String directory = file.getParent();
|
||||
|
||||
try {
|
||||
String command = String.format("\"cd %s && ./%s\"", directory, file.getName());
|
||||
String command = String.format("cd %s && ./%s", directory, file.getName());
|
||||
System.out.println(command);
|
||||
ProcessBuilder proc = new ProcessBuilder("/bin/bash", "-c", command);
|
||||
proc.redirectErrorStream(true);
|
||||
|
|
Loading…
Reference in a new issue