From f8d8cbf362812ce540e9f51db3987986cdea78ea Mon Sep 17 00:00:00 2001 From: business-goose Date: Mon, 21 Mar 2022 21:10:39 +0000 Subject: [PATCH] Remove quotes --- .../TotalFreedomMod/commands/Command_updatetfm.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/me/StevenLawson/TotalFreedomMod/commands/Command_updatetfm.java b/src/main/java/me/StevenLawson/TotalFreedomMod/commands/Command_updatetfm.java index f200590..dc643a1 100644 --- a/src/main/java/me/StevenLawson/TotalFreedomMod/commands/Command_updatetfm.java +++ b/src/main/java/me/StevenLawson/TotalFreedomMod/commands/Command_updatetfm.java @@ -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);