thrift/build/docker/scripts/autotools.sh
2022-12-16 00:09:39 +08:00

20 lines
355 B
Bash
Executable File

#!/bin/sh
set -ev
mkdir -p ~/.m2
tee >~/.m2/settings.xml <<EOF
<settings xmlns='http://maven.apache.org/SETTINGS/1.0.0'>
<mirrors>
<mirror>
<id>secure-central</id>
<url>https://repo.maven.apache.org/maven2</url>
<mirrorOf>central</mirrorOf>
</mirror>
</mirrors>
</settings>
EOF
./bootstrap.sh
./configure $*
make check -j3