From fbf51d5ededbc716f3690a8091302c61462afa80 Mon Sep 17 00:00:00 2001 From: Bernhard Gschaider Date: Fri, 16 May 2014 14:06:25 +0200 Subject: [PATCH] Bootstrap-script adds a log file to home --- vagrantSandbox/README | 3 ++- vagrantSandbox/skel/bootstrapFoam.sh | 13 ++++++++----- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/vagrantSandbox/README b/vagrantSandbox/README index 15631d112..f512f46d2 100644 --- a/vagrantSandbox/README +++ b/vagrantSandbox/README @@ -73,7 +73,8 @@ In the home directory these scripts are found - bootstrapFoam.sh :: A script whose aim it is to compile Foam and the ThirdParty-packages in one go (no paraview and QT). If this - works the box is considered operational + works the box is considered operational. The script leaves a + log file =bootstrapFoam-log= in the home directory * Provisioning scripts Every "family" of machines has a specific script that makes sure that the software packages necessary to compile =Foam= are installed diff --git a/vagrantSandbox/skel/bootstrapFoam.sh b/vagrantSandbox/skel/bootstrapFoam.sh index 8bbd921b7..8bb0e26c0 100755 --- a/vagrantSandbox/skel/bootstrapFoam.sh +++ b/vagrantSandbox/skel/bootstrapFoam.sh @@ -4,19 +4,22 @@ export WM_SCHEDULER=ccache export CCACHE_DIR=/vagrant/ccache4vm +BOOTSTRAPLOG=/home/vagrant/bootstrapFoam.log + cd foam/foam-extend-3.0 source etc/bashrc ( cd wmake/src && make ) cd $WM_THIRD_PARTY_DIR -./AllMake.stage0 -./AllMake.stage1 -./AllMake.stage2 -./AllMake.stage3 +./AllMake.stage0 2>&1 | tee $BOOTSTRAPLOG +./AllMake.stage1 2>&1 | tee --append $BOOTSTRAPLOG +./AllMake.stage2 2>&1 | tee --append $BOOTSTRAPLOG +./AllMake.stage3 2>&1 | tee --append $BOOTSTRAPLOG cd $WM_PROJECT_DIR # pick up installed packages source etc/bashrc -./Allwmake +./Allwmake 2>&1 | tee --append $BOOTSTRAPLOG +