From 683984aab15718c4869481a7d23a30863fc887ab Mon Sep 17 00:00:00 2001 From: root Date: Thu, 30 Apr 2026 23:58:35 +0000 Subject: [PATCH] Remove stale Qt work tree before wallet builds --- contrib/build-linux-wallet.sh | 2 +- doc/build-menu.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/contrib/build-linux-wallet.sh b/contrib/build-linux-wallet.sh index 161f2868..88268fed 100755 --- a/contrib/build-linux-wallet.sh +++ b/contrib/build-linux-wallet.sh @@ -29,7 +29,7 @@ reset_qt_configure_state() { [[ -d "$qt_work" ]] || return 0 echo "Clearing stale Qt configure state for $HOST..." - find "$qt_work" -mindepth 2 -maxdepth 2 -type d -name qtbase-build -prune -exec rm -rf {} + + rm -rf "$qt_work" } cd "$ROOT" diff --git a/doc/build-menu.md b/doc/build-menu.md index 7eb48b69..fe20b517 100644 --- a/doc/build-menu.md +++ b/doc/build-menu.md @@ -53,8 +53,8 @@ The Linux Qt wallet option also installs Ubuntu desktop development headers needed by Qt's xcb platform plugin, including fontconfig, freetype, xcb, and xkbcommon packages. The wallet helper uses the matching `protoc` built by `depends/`, so a system protobuf compiler is not required. It also clears stale -Qt configure directories before rebuilding, because failed CMake feature checks -can otherwise be cached between attempts. +Qt work directories before rebuilding, because failed CMake feature checks can +otherwise be cached between attempts. Defaults --------