Skip to content

Commit 4d77142

Browse files
chore: don't use path env during build
Avoids a bug where rustup adds cargo bin twice: rust-lang/rustup#2978 For all intents and purposes we should be fine to use the current path from runtime. Signed-off-by: Tiago Castro <tiagolobocastro@gmail.com>
1 parent fcb9d92 commit 4d77142

File tree

1 file changed

+1
-1
lines changed
  • deployer/src/infra/csi-driver

1 file changed

+1
-1
lines changed

deployer/src/infra/csi-driver/node.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ impl CsiNode {
126126

127127
let path = format!(
128128
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:{}",
129-
env!("PATH")
129+
std::env::var("PATH").unwrap()
130130
);
131131

132132
cfg.add_container_spec(

0 commit comments

Comments
 (0)