summaryrefslogtreecommitdiffstats
path: root/bootstrap.sh
diff options
context:
space:
mode:
authorgjoranv <gv@oath.com>2017-11-29 14:02:59 +0100
committergjoranv <gv@oath.com>2017-11-29 14:02:59 +0100
commite9bc17ed98362034489c639e13bc1b9ff373ca69 (patch)
treef92490a9b7ed6560b374c2ab483476a190cd247f /bootstrap.sh
parent4c13b3b4de1fb700545e83904c36c85044010dff (diff)
Use subshells for building parent poms.
Diffstat (limited to 'bootstrap.sh')
-rwxr-xr-xbootstrap.sh10
1 files changed, 8 insertions, 2 deletions
diff --git a/bootstrap.sh b/bootstrap.sh
index f331caa5c44..b71af73c529 100755
--- a/bootstrap.sh
+++ b/bootstrap.sh
@@ -46,8 +46,14 @@ $top/dist/getversion.pl -M $top > $top/dist/vtag.map
# must install parent poms first:
echo "Downloading all dependencies. This may take a few minutes with an empty Maven cache."
-cd container-dependency-versions && mvn_install
-cd ../parent && mvn_install && cd ..
+(
+ cd container-dependency-versions
+ mvn_install
+)
+(
+ cd parent
+ mvn_install
+)
mvn_install -N
# and build plugins first: