fix parsing of the args

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14559 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
lissav 2012-12-05 12:54:57 +00:00
parent e43867b487
commit 7cd7ebb719

View File

@ -149,12 +149,12 @@ else
TFTPDIR=$6
fi
fi
if [ $ARGNUM -gt 5 ]; then
if [ $ARGNUM -gt 6 ]; then
if [ $7 = "--installdir" ]; then
INSTALLDIR=$8
fi
fi
if [ $ARGNUM -gt 6 ]; then
if [ $ARGNUM -gt 8 ]; then
if [ $9 = "--nfsv4" ]; then
NFSV4=$10
fi