diff --git a/build_sysroot/build_sysroot.sh b/build_sysroot/build_sysroot.sh index 4404fb49238..0df05f57563 100755 --- a/build_sysroot/build_sysroot.sh +++ b/build_sysroot/build_sysroot.sh @@ -11,7 +11,7 @@ popd >/dev/null # Cleanup for previous run # v Clean target dir except for build scripts and incremental cache -rm -r target/*/{debug,release}/{build,deps,examples,libsysroot*,native} || true +rm -r target/*/{debug,release}/{build,deps,examples,libsysroot*,native} 2>/dev/null || true rm -r sysroot/ 2>/dev/null || true # Build libs