mirror of
https://github.com/NVIDIA/TensorRT-LLM.git
synced 2026-01-14 06:27:45 +08:00
fix: check file exists in dev container script (#5755)
Signed-off-by: ixlmar <206748156+ixlmar@users.noreply.github.com>
This commit is contained in:
parent
3869b969a6
commit
471bf0b4fc
@ -180,9 +180,11 @@ def main():
|
|||||||
env_files = [
|
env_files = [
|
||||||
JENKINS_PROPS_PATH,
|
JENKINS_PROPS_PATH,
|
||||||
DEV_CONTAINER_ENV_PATH,
|
DEV_CONTAINER_ENV_PATH,
|
||||||
DEV_CONTAINER_USER_ENV_PATH,
|
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if DEV_CONTAINER_USER_ENV_PATH.exists():
|
||||||
|
env_files.append(DEV_CONTAINER_USER_ENV_PATH)
|
||||||
|
|
||||||
env = _load_env(env_files)
|
env = _load_env(env_files)
|
||||||
_handle_rootless(env_inout=env)
|
_handle_rootless(env_inout=env)
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user