fix: 🎨 Store GCC export paths between quotes

This commit is contained in:
Sergio Gasquez 2022-12-23 11:10:33 +00:00
parent 30cf198ce2
commit edb43de2d9

View File

@ -90,7 +90,7 @@ impl Installable for Gcc {
#[cfg(windows)]
exports.push(format!("$Env:PATH += \";{}\"", &self.get_bin_path()));
#[cfg(unix)]
exports.push(format!("export PATH={}:$PATH", &self.get_bin_path()));
exports.push(format!("export PATH=\"{}:$PATH\"", &self.get_bin_path()));
Ok(exports)
}