From 35951694a6bb5448bbb67f4040745fb7ea3bca6d Mon Sep 17 00:00:00 2001 From: Csaba Juhasz Date: Thu, 26 Nov 2020 12:22:36 +0100 Subject: [PATCH] Enable fallback for 7.x.x.x versions besides 7.x.x.x+ versions --- src/main/scripts/cdpd-patcher | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/scripts/cdpd-patcher b/src/main/scripts/cdpd-patcher index 5af6ab6..b5a6abc 100755 --- a/src/main/scripts/cdpd-patcher +++ b/src/main/scripts/cdpd-patcher @@ -31,7 +31,7 @@ build="`cat $tmp|jq -r .build`" echo "@@@ build: $build" shopt -s extglob case "${build}_$VERSION" in - null_7.[0-9].[0-9].[1-9]+([0-9])) + null_7.[0-9].[0-9].[1-9]*([0-9])) newVersion="`sed -r 's/[0-9]+$/0/' <<< ${VERSION}`" echo "@@@ no build info available for $VERSION - and its a hotfix branch; trying base version ($newVersion) instead" exec "$0" "$COMPONENT" "$newVersion"