We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a27d00d commit b95f903Copy full SHA for b95f903
rock/sdk/sandbox/runtime_env/base.py
@@ -231,7 +231,7 @@ async def _post_init(self) -> None:
231
async def _do_custom_install(self) -> None:
232
"""Execute custom install command after _post_init."""
233
await self.run(
234
- self._custom_install_cmd,
+ f"cd {shlex.quote(self._workdir)} && {self._custom_install_cmd}",
235
wait_timeout=self._install_timeout,
236
error_msg="custom_install_cmd failed",
237
)
0 commit comments