From 57f110b2553ff1a78064399b77611bf3b77a0e39 Mon Sep 17 00:00:00 2001 From: guido Date: Thu, 6 Jun 2002 11:19:49 +0000 Subject: [PATCH] replace commands by variables git-svn-id: https://svn.dealii.org/trunk@6011 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/common/scripts/build-test/build-template | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/deal.II/common/scripts/build-test/build-template b/deal.II/common/scripts/build-test/build-template index 0c1010121e..66c59d4f2f 100644 --- a/deal.II/common/scripts/build-test/build-template +++ b/deal.II/common/scripts/build-test/build-template @@ -54,6 +54,11 @@ export CXX=CC export CC=cc +# Additional command names + +CVS=cvs +MAKE=make + # Make sure the right compiler, linker and libraries are found first #export PATH=/mypath/bin:$PATH @@ -79,7 +84,7 @@ MAIL='mail' mkdir $target cd $target -cvs co deal.II +$CVS co deal.II cd deal.II # Echo system information for later parsing @@ -94,9 +99,9 @@ echo "BUILDING LIBRARY AT " `date` | tee -a log # now build the library. either write "succeeded" or "failed" # into the file "result", and append all the output into "log" -(if (nice -19 make all -k 2>&1) ; then +(if ($MAKE all -k 2>&1) ; then echo "BUILDING EXAMPLES AT " `date` | tee -a log - if (cd examples ; nice -19 make -k 2>&1) ; then + if (cd examples ; $MAKE -k 2>&1) ; then result=succeeded ; else result=failed ; -- 2.39.5