about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbjorn3 <bjorn3@users.noreply.github.com>2020-09-29 13:26:32 +0200
committerbjorn3 <bjorn3@users.noreply.github.com>2020-09-29 13:26:32 +0200
commita9ec4de6f2f63b9d18e6c2b1eaa8fb9571cffb58 (patch)
treed030097426f9fb31d760b905a77ae21ae20dc532
parentc0507a63fb30a14ea7b819af8241b6555d4ffea8 (diff)
downloadrust-a9ec4de6f2f63b9d18e6c2b1eaa8fb9571cffb58.tar.gz
rust-a9ec4de6f2f63b9d18e6c2b1eaa8fb9571cffb58.zip
Silence rm warning when files are not existing
-rwxr-xr-xbuild_sysroot/build_sysroot.sh2
1 files changed, 1 insertions, 1 deletions
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