]> Creatis software - creaToolsTools.git/blobdiff - Linux/scripts/CreaTools-compile.sh
Some more consistency checking...
[creaToolsTools.git] / Linux / scripts / CreaTools-compile.sh
index e53bc0711f67148b8caaac7703e6f7a826557da0..2a8f9a30ed29cdbfc148ca4288c5c96f12a4f8de 100644 (file)
@@ -39,6 +39,22 @@ fi
    echo $start_point
    echo "------"
 
+if [ ! -f $installPrefixThird/share/creatools_third_party_library_config.sh ]
+then
+ echo missing  $installPrefixThird/share/creatools_third_party_library_config.sh
+   echo
+   echo "..ERROR.."
+   echo "==================================================="
+   echo "REMEMBER !"
+   echo ""
+   echo "YOU NEED TO RUN 'Install Third Party Libraries' (1) FIRST !"
+   echo "==================================================="
+   echo
+   echo "Hit any key to continue"
+   read a
+   exit 0
+fi
+
  if [ ! -e $generationdir/creatools_source ]
  then 
  echo missing  $generationdir/creatools_source
@@ -54,6 +70,22 @@ fi
    exit 0
 fi
 
+
+if [ ! -f $installPrefixThird/share/creatools_third_party_library_config.sh ]
+then
+ echo missing  $installPrefixThird/share/creatools_third_party_library_config.sh
+   echo
+   echo "..ERROR.."
+   echo "==================================================="
+   echo "REMEMBER !"
+   echo ""
+   echo "YOU NEED TO RUN 'Load' (2) FIRST !"
+   echo "==================================================="
+   echo
+   echo
+   exit 0
+fi
+
  cd $generationdir
  if [ -e creatools_bin ]
  then