Salome HOME
projects
/
modules
/
kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix for bug PAL9354 (Can't edit a python line).
[modules/kernel.git]
/
build_configure
diff --git
a/build_configure
b/build_configure
index 8ce1d16edf507dc0ed325a91bceff90b0b15b673..d3294fb598984b68abfa9d9457bb0f874b8c2ece 100755
(executable)
--- a/
build_configure
+++ b/
build_configure
@@
-28,8
+28,11
@@
CONF_DIR=`echo $0 | sed -e "s,[^/]*$,,;s,/$,,;s,^$,.,"`
find_in()
{
find_in()
{
- local i
- local f=$2
+#CCRT
+ #local i
+ i=0
+ #local f=$2
+ f=$2
# if the first argument is not a directory, returns
# if the first argument is not a directory, returns
@@
-79,9
+82,13
@@
ABS_CONF_DIR=`pwd`
# Common part of the configure.in file
#
chmod u+w configure.in.base
# Common part of the configure.in file
#
chmod u+w configure.in.base
-if ! \cp -f configure.in.base configure.in_tmp1
+#CCRT
+#if ! \cp -f configure.in.base configure.in_tmp1
+if \cp -f configure.in.base configure.in_tmp1
then
echo
then
echo
+else
+ echo
echo "error : can't create files in" ${CONF_DIR}
echo "aborting ..."
chmod u-w configure.in.base
echo "error : can't create files in" ${CONF_DIR}
echo "aborting ..."
chmod u-w configure.in.base
@@
-149,9
+156,13
@@
then
fi
else
echo -n "Updating 'configure.in' file ... "
fi
else
echo -n "Updating 'configure.in' file ... "
- if ! \cp configure.in configure.in_old >& /dev/null
+#CCRT
+# if ! \cp configure.in configure.in_old >& /dev/null
+ if \cp configure.in configure.in_old >& /dev/null
then
echo
then
echo
+ else
+ echo
echo
echo "Can't backup previous configure.in"
echo -n "Continue (you will not be able to revert) - (Y/N) ? "
echo
echo "Can't backup previous configure.in"
echo -n "Continue (you will not be able to revert) - (Y/N) ? "