From c0afb9cc397e1199e50417bc8766dede23d52150 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Mon, 3 Jan 2022 02:41:33 +0100 Subject: [PATCH] contrib: lsupgrade: do not search the OpenWrt "packages" feed Iterating over all the package directories in the OpenWrt feed takes a while, even though it doesn't contain any upgrade scripts. Skip the whole directory. --- contrib/lsupgrade.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/lsupgrade.sh b/contrib/lsupgrade.sh index f8e28f9a..25d10415 100755 --- a/contrib/lsupgrade.sh +++ b/contrib/lsupgrade.sh @@ -28,7 +28,7 @@ fi pushd "$(dirname "$0")/.." >/dev/null -find ./package packages -name Makefile | while read -r makefile; do +find ./package packages -name Makefile | grep -v '^packages/packages/' | while read -r makefile; do dir="$(dirname "$makefile")" pushd "$dir" >/dev/null