mirror of
https://github.com/esp-rs/espup.git
synced 2025-09-29 05:40:40 +00:00
fix: 🎨 Store GCC export paths between quotes
This commit is contained in:
parent
30cf198ce2
commit
edb43de2d9
@ -90,7 +90,7 @@ impl Installable for Gcc {
|
|||||||
#[cfg(windows)]
|
#[cfg(windows)]
|
||||||
exports.push(format!("$Env:PATH += \";{}\"", &self.get_bin_path()));
|
exports.push(format!("$Env:PATH += \";{}\"", &self.get_bin_path()));
|
||||||
#[cfg(unix)]
|
#[cfg(unix)]
|
||||||
exports.push(format!("export PATH={}:$PATH", &self.get_bin_path()));
|
exports.push(format!("export PATH=\"{}:$PATH\"", &self.get_bin_path()));
|
||||||
|
|
||||||
Ok(exports)
|
Ok(exports)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user