From 9457064526087a97da1ce8327b0dfd63ee53af27 Mon Sep 17 00:00:00 2001 From: Anya Lin Date: Sat, 11 Jul 2026 16:49:53 +0800 Subject: [PATCH] fix: `EXTRA_FEEDS` compatibility Fixed compatibility issues with feeds that use root directory offsets. Similar to `src-git --root=package base https://git.openwrt.org/openwrt/openwrt.git`. Signed-off-by: Anya Lin --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 9e25b3c..463bf3c 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -54,7 +54,7 @@ ALL_CUSTOM_FEEDS="$FEEDNAME " #shellcheck disable=SC2153 for EXTRA_FEED in $EXTRA_FEEDS; do echo "$EXTRA_FEED" | tr '|' ' ' >> feeds.conf - ALL_CUSTOM_FEEDS+="$(echo "$EXTRA_FEED" | cut -d'|' -f2) " + ALL_CUSTOM_FEEDS+="$(echo "$EXTRA_FEED" | awk -F'|' '{print $(NF-1)}') " done group "feeds.conf"