about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbjorn3 <bjorn3@users.noreply.github.com>2019-08-18 14:57:46 +0200
committerbjorn3 <bjorn3@users.noreply.github.com>2019-08-18 14:57:46 +0200
commit7aa4cb874a7448adb1d941b76ff03d1645ddccf3 (patch)
tree63c88c5bde917d45b70fea5884284ffd70c0d750
parent8e400008ff6342f8fa5273259c5f51b7ac056fff (diff)
downloadrust-7aa4cb874a7448adb1d941b76ff03d1645ddccf3.tar.gz
rust-7aa4cb874a7448adb1d941b76ff03d1645ddccf3.zip
Misc changes
-rwxr-xr-xbuild_sysroot/build_sysroot.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/build_sysroot/build_sysroot.sh b/build_sysroot/build_sysroot.sh
index 5b3ea291e77..37aa7c1908d 100755
--- a/build_sysroot/build_sysroot.sh
+++ b/build_sysroot/build_sysroot.sh
@@ -12,9 +12,9 @@ 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 sysroot_src/src/{libcore,libtest}/target/$TARGET_TRIPLE/$sysroot_channel/ || true
+rm -r sysroot_src/src/{libcore,libtest}/target/ || true
 rm Cargo.lock test_target/Cargo.lock 2>/dev/null || true
-rm -r sysroot 2>/dev/null || true
+rm -r sysroot/ 2>/dev/null || true
 
 # Build libs
 export RUSTFLAGS="$RUSTFLAGS -Z force-unstable-if-unmarked"