Skip to content
Snippets Groups Projects
Commit 7c3bc9dd authored by Brian J. Murrell's avatar Brian J. Murrell
Browse files

b=15316

Small logic thinko that fails the case where no o2iblnd tree is specifed.
parent fb2f55d7
No related branches found
No related tags found
No related merge requests found
...@@ -578,11 +578,13 @@ else ...@@ -578,11 +578,13 @@ else
]) ])
# we know at this point that the found OFED source is good # we know at this point that the found OFED source is good
if test \( $ENABLEO2IB = 3 -a -f $O2IBPATH/Module.symvers \); then if test \( $ENABLEO2IB = 3 \); then
AC_MSG_NOTICE([adding $O2IBPATH/Module.symvers to $PWD/Module.symvers]) if test \( -f $O2IBPATH/Module.symvers \); then
cat $O2IBPATH/Module.symvers >> $PWD/Module.symvers AC_MSG_NOTICE([adding $O2IBPATH/Module.symvers to $PWD/Module.symvers])
else cat $O2IBPATH/Module.symvers >> $PWD/Module.symvers
AC_MSG_ERROR([an external source tree was specified for o2iblnd however I could not find a $O2IBPATH/Module.symvers there]) else
AC_MSG_ERROR([an external source tree was specified for o2iblnd however I could not find a $O2IBPATH/Module.symvers there])
fi
fi fi
# version checking is a hack and isn't reliable, # version checking is a hack and isn't reliable,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment