From ca309c21f49c59086e67423751f623dc9010c114 Mon Sep 17 00:00:00 2001 From: mxi1 Date: Fri, 15 Oct 2010 09:50:34 +0000 Subject: [PATCH] update the expresion for ksh git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7869 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT/postscripts/aixlitesetup | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT/postscripts/aixlitesetup b/xCAT/postscripts/aixlitesetup index 52cf24cbe..f621c549e 100644 --- a/xCAT/postscripts/aixlitesetup +++ b/xCAT/postscripts/aixlitesetup @@ -260,12 +260,12 @@ FindFile () { if [ -e ${SRC} ]; then PATHEND=${#path} CHAREND=`echo ${path} |cut -c${PATHEND}` - if [ ${CHAREND} -ne '/' ] && [ -d ${SRC} ]; then + if [ "${CHAREND}" = '/' ] && [ -d ${SRC} ]; then FOUND=0 continue fi - if [ ${CHAREND} -eq "/" ] && [ -f ${SRC} ]; then + if [ "${CHAREND}" = "/" ] && [ -f ${SRC} ]; then FOUND=0 continue fi