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.
This commit is contained in:
parent
2924afe562
commit
c0afb9cc39
@ -28,7 +28,7 @@ fi
|
|||||||
|
|
||||||
pushd "$(dirname "$0")/.." >/dev/null
|
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")"
|
dir="$(dirname "$makefile")"
|
||||||
|
|
||||||
pushd "$dir" >/dev/null
|
pushd "$dir" >/dev/null
|
||||||
|
Loading…
Reference in New Issue
Block a user