From 928cf04cb23e6cd3ac7be8a7408b49f84dfd0e91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Bonhomme?= Date: Thu, 6 May 2021 15:14:30 +0200 Subject: [PATCH] chg: [config] selects the value of the configuration to change. --- scripts/update_config_variables.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/update_config_variables.sh b/scripts/update_config_variables.sh index 4cb9dd9..0072601 100755 --- a/scripts/update_config_variables.sh +++ b/scripts/update_config_variables.sh @@ -2,6 +2,6 @@ conf_file='./config/autoload/local.php' if [ -f "$conf_file" ]; then - sed -E -i "s/(.*) => (.*)\/v1/\1 => \2/g" "$conf_file" + sed -E -i "s/'mospApiUrl' => (.*)\/v1/'mospApiUrl' => \1/g" "$conf_file" echo "Done for $conf_file" fi