From c3a85ced37cc3123ba34521cd3f8878dd8a78fe3 Mon Sep 17 00:00:00 2001 From: Fabian Wilkens Date: Sat, 18 Sep 2021 18:44:21 +0200 Subject: [PATCH] Fix: change_url script - wrong variable --- scripts/change_url | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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