From 388c38bfd9b7b585e551c84745a1369a0bbcf776 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Sun, 3 Jan 2010 08:34:21 +0000 Subject: [PATCH] Fixed typos. git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1426 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- srpt/README.ofed | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srpt/README.ofed b/srpt/README.ofed index fe9ebfdb3..12df4e33a 100644 --- a/srpt/README.ofed +++ b/srpt/README.ofed @@ -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