From 0de9c95c17a5adf3e61db9b95bb072028beab2f2 Mon Sep 17 00:00:00 2001 From: you-n-g Date: Thu, 12 Jun 2025 21:02:07 +0800 Subject: [PATCH] fix: add missing semicolon after chmod in env shell command (#955) --- rdagent/utils/env.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rdagent/utils/env.py b/rdagent/utils/env.py index 85c39ca1..b3f187a6 100644 --- a/rdagent/utils/env.py +++ b/rdagent/utils/env.py @@ -262,7 +262,7 @@ class Env(Generic[ASpecificEnvConf]): f"/bin/sh -c 'timeout --kill-after=10 {self.conf.running_timeout_period} {entry}; " + "entry_exit_code=$?; " + ( - f"{_get_chmod_cmd(self.conf.mount_path)}" + f"{_get_chmod_cmd(self.conf.mount_path)}; " # We don't have to change the permission of the cache and input folder to remove it # + f"if [ -d {self.conf.mount_path}/cache ]; then chmod 777 {self.conf.mount_path}/cache; fi; " + # f"if [ -d {self.conf.mount_path}/input ]; then chmod 777 {self.conf.mount_path}/input; fi; "