]> SALOME platform Git repositories - tools/install.git/commitdiff
Salome HOME
Fix KERNEL compilation from sources problem on Red Hat 8.0
authorvsr <vsr@opencascade.com>
Fri, 12 Jan 2007 15:13:50 +0000 (15:13 +0000)
committervsr <vsr@opencascade.com>
Fri, 12 Jan 2007 15:13:50 +0000 (15:13 +0000)
config_files/KERNEL_SRC.sh

index 0b13fea69d9b3d91183ba2376bd794e43d39c584..26b768dd44453fc0b2de61010054033d9e210f00 100755 (executable)
@@ -69,6 +69,11 @@ print_env
 
 install_source_and_build()
 {
+# remove previously existing sources directory
+if [ -f $PRODUCT_DIR ] ; then
+    rm -rf $PRODUCT_DIR
+fi
+
 # install sources
 install_source
 
@@ -82,7 +87,7 @@ fi
 
 CUR_DIR=`pwd`
 cd ${INSTALL_ROOT}
-check_jb build.sh -o -b -d -v 0 -p $INSTALL_ROOT KERNEL
+check_jb build.sh -o -c -d -v 0 -p $INSTALL_ROOT KERNEL
 
 # create environment for the built binaries
 cd $CUR_DIR