for defect 2989912,
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6790 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
ec11964907
commit
461c236542
@ -329,14 +329,18 @@ FindFile () {
|
||||
if [ -e ${TREEMOUNT}/${DIR}${path} ]
|
||||
then
|
||||
FOUND=1 # we found it!
|
||||
ProcessType ${TREEMOUNT}/${DIR}${path} ${path} ${type} ${isChild}
|
||||
if [ "${2}" = "con" ]
|
||||
then
|
||||
1
|
||||
else
|
||||
break
|
||||
fi
|
||||
|
||||
#TODO:
|
||||
if [ -z $(ls ${TREEMOUNT}/${DIR}${path}) ]; then
|
||||
FOUND=0
|
||||
else
|
||||
ProcessType ${TREEMOUNT}/${DIR}${path} ${path} ${type} ${isChild}
|
||||
if [ "${2}" = "con" ]
|
||||
then
|
||||
1
|
||||
else
|
||||
break
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
||||
|
@ -330,14 +330,17 @@ FindFile () {
|
||||
if [ -e ${TREEMOUNT}/${DIR}${path} ]
|
||||
then
|
||||
FOUND=1 # we found it!
|
||||
ProcessType ${TREEMOUNT}/${DIR}${path} ${path} ${type} ${isChild}
|
||||
if [ "${2}" = "con" ]
|
||||
then
|
||||
1
|
||||
else
|
||||
break
|
||||
if [ -z $(ls ${TREEMOUNT}/${DIR}${path}) ]; then
|
||||
FOUND=0
|
||||
else
|
||||
ProcessType ${TREEMOUNT}/${DIR}${path} ${path} ${type} ${isChild}
|
||||
if [ "${2}" = "con" ]
|
||||
then
|
||||
1
|
||||
else
|
||||
break
|
||||
fi
|
||||
fi
|
||||
|
||||
fi
|
||||
done
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user