From fd36c91db869544df882de6812cf57dd5056c976 Mon Sep 17 00:00:00 2001 From: Daniel Golle Date: Thu, 13 Oct 2022 19:46:52 +0100 Subject: [PATCH] auc: update to 0.3.1 Remove wrongly placed 'break' statement to actually jump to the most recent version of a release branch. Signed-off-by: Daniel Golle --- utils/auc/Makefile | 2 +- utils/auc/src/auc.c | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/utils/auc/Makefile b/utils/auc/Makefile index de5c8fd0ed..7bd296e5b3 100644 --- a/utils/auc/Makefile +++ b/utils/auc/Makefile @@ -5,7 +5,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=auc -PKG_VERSION:=0.3.0 +PKG_VERSION:=0.3.1 PKG_RELEASE:=$(AUTORELEASE) PKG_LICENSE:=GPL-3.0 diff --git a/utils/auc/src/auc.c b/utils/auc/src/auc.c index 0f71c43149..711ca812c9 100644 --- a/utils/auc/src/auc.c +++ b/utils/auc/src/auc.c @@ -1449,10 +1449,8 @@ static struct branch_version *select_branch(char *name, char *select_version) if (bver->snapshot) continue; - if (!abver || (openwrt_release_verrevcmp(abver->version, bver->version) < 0)) { + if (!abver || (openwrt_release_verrevcmp(abver->version, bver->version) < 0)) abver = bver; - break; - } } } } -- 2.30.2