diff --git a/scripts/change_url b/scripts/change_url index 9ee1b05..8cb6067 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -119,14 +119,14 @@ fi ynh_replace_string \ --match_string='url": "https://.*/extensions/src/' \ - --replace_string='url": "https://'$domain$path'/extensions/src/' \ + --replace_string='url": "https://'$new_domain$path'/extensions/src/' \ --target_file="$final_path_extensions/repo.json" find "$final_path_extensions/src/" -name "*.json" -print0 | while read -d $'\0' file do ynh_replace_string \ --match_string='url": "https://.*/extensions/src/' \ - --replace_string='url": "https://'$domain$path'extensions/src/' \ + --replace_string='url": "https://'$new_domain$path'extensions/src/' \ --target_file="$file" done