mirror of
https://github.com/actions/runner-images.git
synced 2025-12-14 22:05:17 +00:00
[Ubuntu] Fix setEtcEnvironmentVariable function (#2394)
* Fix pipx installation * Remove quotes from
This commit is contained in:
committed by
GitHub
parent
ecc81aa902
commit
afef0c94a8
@@ -18,7 +18,7 @@ function addEtcEnvironmentVariable {
|
||||
variable_name="$1"
|
||||
variable_value="$2"
|
||||
|
||||
echo "$variable_name=\"$variable_value\"" | sudo tee -a /etc/environment
|
||||
echo "$variable_name=$variable_value" | sudo tee -a /etc/environment
|
||||
}
|
||||
|
||||
function replaceEtcEnvironmentVariable {
|
||||
|
||||
Reference in New Issue
Block a user