summaryrefslogtreecommitdiff
path: root/utils/auc
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2022-10-13 19:46:52 +0100
committerDaniel Golle <daniel@makrotopia.org>2022-10-13 19:48:05 +0100
commitfd36c91db869544df882de6812cf57dd5056c976 (patch)
tree048935b23915c2861022d1747b6ec61d04da17cd /utils/auc
parent5743d7ed4d8204b51624d990e1717ffbfd648f2a (diff)
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 <daniel@makrotopia.org>
Diffstat (limited to 'utils/auc')
-rw-r--r--utils/auc/Makefile2
-rw-r--r--utils/auc/src/auc.c4
2 files changed, 2 insertions, 4 deletions
diff --git a/utils/auc/Makefile b/utils/auc/Makefile
index de5c8fd0e..7bd296e5b 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 0f71c4314..711ca812c 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;
- }
}
}
}