From: vsr Date: Fri, 12 Jan 2007 15:13:50 +0000 (+0000) Subject: Fix KERNEL compilation from sources problem on Red Hat 8.0 X-Git-Tag: V_3_2_4~4 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=e9bff183baea7b1bb34be99a91f7b49eca6f9a6b;p=tools%2Finstall.git Fix KERNEL compilation from sources problem on Red Hat 8.0 --- diff --git a/config_files/KERNEL_SRC.sh b/config_files/KERNEL_SRC.sh index 0b13fea..26b768d 100755 --- a/config_files/KERNEL_SRC.sh +++ b/config_files/KERNEL_SRC.sh @@ -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