modify one condition
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7871 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
ca309c21f4
commit
b49259b7d0
@ -260,7 +260,7 @@ FindFile () {
|
||||
if [ -e ${SRC} ]; then
|
||||
PATHEND=${#path}
|
||||
CHAREND=`echo ${path} |cut -c${PATHEND}`
|
||||
if [ "${CHAREND}" = '/' ] && [ -d ${SRC} ]; then
|
||||
if [ "${CHAREND}" != '/' ] && [ -d ${SRC} ]; then
|
||||
FOUND=0
|
||||
continue
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user