Salome HOME
projects
/
tools
/
install.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge bug fixes from SALOME_3_DS branch
[tools/install.git]
/
config_files
/
common.sh
diff --git
a/config_files/common.sh
b/config_files/common.sh
index f8c08cab39794108d112257e480b88e74baa4fa6..9a69683fabf2fb474071bed5de016656f0203f52 100755
(executable)
--- a/
config_files/common.sh
+++ b/
config_files/common.sh
@@
-358,7
+358,7
@@
find_in_path(){
file=$1; shift;
path=$*
for i in `echo ${path} | sed -e"s%:% %g"` ; do
file=$1; shift;
path=$*
for i in `echo ${path} | sed -e"s%:% %g"` ; do
- ret=`find $i -name $file 2>/dev/null`
+ ret=`find $i -name $file
-maxdepth 1
2>/dev/null`
if [ -n "$ret" ] ; then
ret=`echo $ret | sed -e"s%/\$file$%%g"`
echo $ret
if [ -n "$ret" ] ; then
ret=`echo $ret | sed -e"s%/\$file$%%g"`
echo $ret