From eb1df142a3d1dbd2f466b88a4567566ccbb85151 Mon Sep 17 00:00:00 2001 From: Thomas Capricelli Date: Sun, 4 Oct 2009 03:38:13 +0200 Subject: [PATCH] backport changes in tip related to eigen_gen_docs --- scripts/eigen_gen_docs | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/scripts/eigen_gen_docs b/scripts/eigen_gen_docs index 1e2a4ebbe..78cec84bc 100644 --- a/scripts/eigen_gen_docs +++ b/scripts/eigen_gen_docs @@ -4,18 +4,17 @@ # TODO : display error msg on stderr instead of stdout # configuration -USER='orzel' +# You should call this script with USER set as you want, else some default +# will be used +USER=${USER:-'orzel'} -# step 1 : update -hg pull -u || (echo "update failed"; exit 1) - -# step 2 : build +# step 1 : build # todo if 'build is not there, create one: #mkdir build (cd build && cmake .. && make -j3 doc) || (echo "make failed"; exit 1) #todo: n+1 where n = number of cpus -#step 3 : upload +#step 2 : upload BRANCH=`hg branch` if [ $BRANCH == "default" ] then