Fixed typos.
authorbvassche <bvassche@d57e44dd-8a1f-0410-8b47-8ef2f437770f>
Sun, 3 Jan 2010 08:34:21 +0000 (08:34 +0000)
committerbvassche <bvassche@d57e44dd-8a1f-0410-8b47-8ef2f437770f>
Sun, 3 Jan 2010 08:34:21 +0000 (08:34 +0000)
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1426 d57e44dd-8a1f-0410-8b47-8ef2f437770f

srpt/README.ofed

index fe9ebfd..12df4e3 100644 (file)
@@ -58,8 +58,8 @@ Remove any distro-provided InfiniBand drivers:
 Now locate the file Makefile.lib and patch it such that it supports
 the variable PRE_CFLAGS:
 
-  if -e /lib/modules/$(uname -r)/build/scripts/Makefile.lib; then
-    /lib/modules/$(uname -r)/build
+  if [ -e /lib/modules/$(uname -r)/build/scripts/Makefile.lib ]; then
+    cd /lib/modules/$(uname -r)/build
   else
     cd /usr/src/linux-$(uname -r)
   fi