Salome HOME
projects
/
tools
/
install.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56bab61
)
Fix KERNEL compilation from sources problem on Red Hat 8.0
author
vsr
<vsr@opencascade.com>
Fri, 12 Jan 2007 15:13:50 +0000
(15:13 +0000)
committer
vsr
<vsr@opencascade.com>
Fri, 12 Jan 2007 15:13:50 +0000
(15:13 +0000)
config_files/KERNEL_SRC.sh
patch
|
blob
|
history
diff --git
a/config_files/KERNEL_SRC.sh
b/config_files/KERNEL_SRC.sh
index 0b13fea69d9b3d91183ba2376bd794e43d39c584..26b768dd44453fc0b2de61010054033d9e210f00 100755
(executable)
--- 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