From 77fc638debee2cbe8852c5c8e024ef4ed634e429 Mon Sep 17 00:00:00 2001 From: Sergey Dolin Date: Tue, 28 Apr 2020 16:55:48 +0500 Subject: [PATCH] Don\'t create backup sed file --- images/linux/scripts/helpers/etc-environment.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/images/linux/scripts/helpers/etc-environment.sh b/images/linux/scripts/helpers/etc-environment.sh index 9637f242e2..24801723ef 100644 --- a/images/linux/scripts/helpers/etc-environment.sh +++ b/images/linux/scripts/helpers/etc-environment.sh @@ -26,7 +26,7 @@ function replaceEtcEnvironmentVariable { variable_value="$2" # modify /etc/environemnt in place by replacing a string that begins with variable_name - sudo sed -ie "s%^${variable_name}=.*$%${variable_name}=\"${variable_value}\"%" /etc/environment + sudo sed -i -e "s%^${variable_name}=.*$%${variable_name}=\"${variable_value}\"%" /etc/environment } function setEtcEnvironmentVariable {