about summary refs log tree commit diff
path: root/build_sysroot
diff options
context:
space:
mode:
authorbjorn3 <bjorn3@users.noreply.github.com>2019-08-18 11:30:13 +0200
committerbjorn3 <bjorn3@users.noreply.github.com>2019-08-18 11:30:13 +0200
commit43e68319fabb4f55071618e2a40ec534f4fbe9bc (patch)
tree17db6a8692340747e4406db8274e15d4e29a0e45 /build_sysroot
parent21141eb235340f78655bb557876ca8435a4785b1 (diff)
downloadrust-43e68319fabb4f55071618e2a40ec534f4fbe9bc.tar.gz
rust-43e68319fabb4f55071618e2a40ec534f4fbe9bc.zip
Rustup to rustc 1.39.0-nightly (2111aed0a 2019-08-17)
Diffstat (limited to 'build_sysroot')
-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 c37dd5104a8..5b3ea291e77 100755
--- a/build_sysroot/build_sysroot.sh
+++ b/build_sysroot/build_sysroot.sh
@@ -28,7 +28,7 @@ fi
 
 # Copy files to sysroot
 mkdir -p sysroot/lib/rustlib/$TARGET_TRIPLE/lib/
-cp target/$TARGET_TRIPLE/$sysroot_channel/deps/* sysroot/lib/rustlib/$TARGET_TRIPLE/lib/
+cp -r target/$TARGET_TRIPLE/$sysroot_channel/deps/* sysroot/lib/rustlib/$TARGET_TRIPLE/lib/
 
 if [[ "$1" == "--release" ]]; then
     channel='release'
@@ -39,4 +39,4 @@ else
 fi
 
 # Copy files to sysroot
-cp sysroot_src/src/libtest/target/$TARGET_TRIPLE/$sysroot_channel/deps/*  sysroot/lib/rustlib/$TARGET_TRIPLE/lib/
+cp -r sysroot_src/src/libtest/target/$TARGET_TRIPLE/$sysroot_channel/deps/*  sysroot/lib/rustlib/$TARGET_TRIPLE/lib/