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:
mxi1 2010-10-15 11:26:08 +00:00
parent ca309c21f4
commit b49259b7d0

View File

@ -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