read generationdir
if [ "$generationdir" = "" ]
then
-
generationdir=$racine
fi
echo "you said : [" $generationdir "]"
echo "loginGroupName=$loginGroupName" >> $configureFile
echo "buildType=$buildType" >> $configureFile
echo "gdcmVersion=$gdcmVersion" >> $configureFile
+ echo "ETC_BASHRC=$ETC_BASHRC" >> $configureFile
# ------------------
# endif 'suitable'
echo "==>"
echo "==> You HAVE to leave current window to continue!"
echo "==>"
+ source $ETC_BASHRC
read a
kill -9 $PPID
;;
echo "==>"
echo "==> You HAVE to leave current window to continue!"
echo "==>"
+ source $ETC_BASHRC
read a
kill -9 $PPID
;;
# else
# echo "==> Hit any key to close current window"
# fi
+ source $ETC_BASHRC
;;
source $PWD/scripts/CreaTools-configure.sh
-#deal with create creatools_third_party_libraries_config.sh
+# /// \TODO move theese ones upper in the process! JPR
+
+export GDCM_DIR=$installPrefixThird/lib/gdcm/
+export VTK_DIR=$installPrefixThird/lib/vtk-5.6/
+export ITK_DIR=$installPrefixThird/lib/InsightToolkit/
+
+#deal with create creatools_third_party_libraries_config.sh
+echo "=========================================================installPrefixThird "$installPrefixThird
if [ -f $installPrefixThird/share/creatools_third_party_library_config.sh ]
then
rm $installPrefixThird/share/creatools_third_party_library_config.sh
echo installPrefixThird=$installPrefixThird >> $ETC_BASHRC
echo '[ -f "$installPrefixThird/share/creatools_third_party_library_config.sh" ] && source $installPrefixThird/share/creatools_third_party_library_config.sh' >> $ETC_BASHRC
-
+echo "====================================================ETC_BASHRC " $ETC_BASHRC
chown -R $loginUserName $generationdir
chgrp -R $loginGroupName $generationdir