use Ubuntu keyserver for CloudABI ports · rust-lang/rust@8b21a55 (original) (raw)

File tree

1 file changed

lines changed

1 file changed

lines changed

Original file line number Diff line number Diff line change
@@ -32,9 +32,8 @@ ln -s ../lib/llvm-5.0/bin/lld /usr/bin/${target}-ld
32 32 ln -s ../../${target} /usr/lib/llvm-5.0/${target}
33 33
34 34 # Install the C++ runtime libraries from CloudABI Ports.
35 -echo deb https://nuxi.nl/distfiles/cloudabi-ports/debian/ cloudabi cloudabi > \
36 - /etc/apt/sources.list.d/cloudabi.list
37 -curl 'https://pgp.mit.edu/pks/lookup?op=get&search=0x0DA51B8531344B15' | \
38 - apt-key add -
35 +apt-key adv --batch --yes --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 0DA51B8531344B15
36 +add-apt-repository -y 'deb https://nuxi.nl/distfiles/cloudabi-ports/debian/ cloudabi cloudabi'
37 +
39 38 apt-get update
40 -apt-get install -y (echo(echo (echo{target} | sed -e s/_/-/g)-cxx-runtime
39 +apt-get install -y "${target//_/-}-cxx-runtime"