From 5e0a5f41bfb00baedca6832ffb385bd3063cc485 Mon Sep 17 00:00:00 2001 From: OniriCorpe Date: Fri, 24 Feb 2023 21:02:49 +0100 Subject: [PATCH] fix wrong variable --- .github/workflows/updater.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/updater.sh b/.github/workflows/updater.sh index 04b4d47..3f3cbbc 100644 --- a/.github/workflows/updater.sh +++ b/.github/workflows/updater.sh @@ -160,7 +160,7 @@ echo "Upgrade done." # retrieving the actual version in the config file patch_version="$(grep -Eo 'SOURCE_URL=.*' conf/source/armv7.src | cut -d'v' -f2 | cut -d'/' -f1)" -if [ "$current_version" != "$patch_version" ]; then +if [ "$version" != "$patch_version" ]; then patch_source_file "conf/source/arm.src" "conf/source/armv7.src" fi @@ -204,7 +204,7 @@ if [ "$last_main_version" != "$main_version" ]; then # retrieving the actual version in the config file patch_version="$(grep -Eo 'SOURCE_URL=.*' "conf/source/armv7_${last_main_version}.src" | cut -d'v' -f2 | cut -d'/' -f1)" - if [ "$current_version" != "$patch_version" ]; then + if [ "$version" != "$patch_version" ]; then patch_source_file "conf/source/arm_${last_main_version}.src" "conf/source/armv7_${last_main_version}.src" fi