[Pkg-lustre-svn-commit] updated: [ecf2cf1] Some more error corrections for ofa-kernel

Patrick Winnertz winnie at debian.org
Thu Jun 24 12:50:39 UTC 2010


The following commit has been merged in the master branch:
commit ecf2cf1ee75c8b897d6f933e8c3c5e9ccaa8bacc
Author: Patrick Winnertz <winnie at debian.org>
Date:   Wed Jun 23 12:48:57 2010 +0200

    Some more error corrections for ofa-kernel
    
    Signed-off-by: Patrick Winnertz <winnie at debian.org>

diff --git a/debian/rules b/debian/rules
index 023f4dd..b1bd910 100755
--- a/debian/rules
+++ b/debian/rules
@@ -265,10 +265,10 @@ kdist_config: prep-deb-files
 	dpkg-checkbuilddeps
 	# check if a ofa-kernel-header package is installed for current kernel
 	# if yes, link against it:
-	if [ -d /usr/src/ofa-kernel-headers-$(KVERS) ]; then 
-	    OFA_KERNEL="--with-o2ib=/usr/src/ofa-kernel-headers-$(KVERS)"
-	else
-	    OFA_KERNEL=""
+	if [ -d /usr/src/ofa-kernel-headers-$(KVERS) ]; then \
+	    OFA_KERNEL="--with-o2ib=/usr/src/ofa-kernel-headers-$(KVERS)"; \
+	else \
+	    OFA_KERNEL=""; \
 	fi
 	# touch files to same date, to avoid auto*
 	find . -type f -exec touch -r COPYING {} \;

-- 
Lustre Debian Packaging 



More information about the Pkg-lustre-svn-commit mailing list