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 --------