#!/bin/sh
-#if [$# = 0]
-#then
+if [ $# = 0 ]
+then
echo "Use it as :"
echo "sh All.sh <nameOfTheGenerationDirectory> <BooleanForDocGeneration> <userNameForCVS> <VTKdir> <installPrefix>"
echo " "
echo "ex : sh All.sh /tmp/gendir OFF jpr /usr/local/lib/vtk-5.4 /home/jpr/myInsallDirectory"
-#exit 0
-#fi
+exit 0
+fi
+
-#if [$# != 5]
-#then
-#echo "use it as sh All.sh /tmp/gendir OFF jpr /usr/local/lib/vtk-5.4 /home/jpr/myInsallDirectory"
-#exit 0
-#fi
+if [ $# != 5 ]
+then
+echo "use it as sh All.sh /tmp/gendir OFF jpr /usr/local/lib/vtk-5.4 /home/jpr/myInsallDirectory"
+exit 0
+fi
+
+exit 0
# @echo off
#allow user to choose the generation dir
bbtkgeditorsource=bbtkGEditor
creatoolssource=creaTools
-if [ true = true ]
+if [ true = false ]
then
rm -rf $generationdir/creaBin
sh ctestmod.sh $creasource $generationdir
#fi
+
creadll=$generationdir/tmpCreaTools_INSTALL/creaBin
LD_LIBRARY_PATH=$creadll:LD_LIBRARY_$PATH
bbtkdll=$generationdir/tmpCreaTools_INSTALL/bbtkBin
LD_LIBRARY_PATH=$bbtkdll:$LD_LIBRARY_PATH
-
+
#if [ true = false ]
#then
creaMaracasVisu
LD_LIBRARY_PATH=$creamaracasdll:$LD_LIBRARY_PATH
-
#if [ true = false ]
#then
# creaEnvironment