Skip to content

Commit 00dbe0e

Browse files
author
Jorge Aparicio
committed
don't stay in the /usr directory
1 parent b41f4a5 commit 00dbe0e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ci/install.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,19 @@ install_binutils() {
1515
install_c_toolchain() {
1616
local dropbox_url=https://www.dropbox.com/sh/y9w7l5fk57vyikt/AABhZePp6j827VielYZvSa4Pa
1717

18+
pushd /usr
1819
case $TARGET in
1920
aarch64-unknown-linux-gnu)
2021
sudo apt-get install -y --no-install-recommends \
2122
gcc-aarch64-linux-gnu libc6-arm64-cross libc6-dev-arm64-cross
2223
;;
2324
mips-unknown-linux-gnu)
24-
cd /usr
2525
curl -sL $dropbox_url/gcc-mips-linux-gnu.tar.xz?dl=1 | sudo tar -xJ
2626
;;
2727
*)
2828
;;
2929
esac
30+
popd
3031
}
3132

3233
install_rust() {

0 commit comments

Comments
 (0)