summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorChris Friedt <cfriedt@meta.com>2022-10-23 09:28:42 -0400
committerJens Geyer <Jens-G@users.noreply.github.com>2022-10-23 22:08:51 +0200
commitef3d52e04c085a37fa0f1ba4c837c2b0456d6012 (patch)
treef9ff359229336c450253915007fb4c241dfa73f4 /build
parentefea6975016246ac7f90bd04b188ead8a32467ac (diff)
downloadthrift-ef3d52e04c085a37fa0f1ba4c837c2b0456d6012.tar.gz
build: docker: scripts: autotools: do not fail if .m2/ exists
Previously, when doing manual runs inside of the docker container, the `autotools.sh` script would fail if the `.m2/` directory already existed. This was a minor annoyance. Simply pass the `-p` flag to `mkdir`. Signed-off-by: Chris Friedt <cfriedt@meta.com>
Diffstat (limited to 'build')
-rwxr-xr-xbuild/docker/scripts/autotools.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/docker/scripts/autotools.sh b/build/docker/scripts/autotools.sh
index 52b17eee8..c92599f96 100755
--- a/build/docker/scripts/autotools.sh
+++ b/build/docker/scripts/autotools.sh
@@ -1,7 +1,7 @@
#!/bin/sh
set -ev
-mkdir ~/.m2
+mkdir -p ~/.m2
tee >~/.m2/settings.xml <<EOF
<settings xmlns='http://maven.apache.org/SETTINGS/1.0.0'>
<mirrors>