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

    Some more error corrections for ofa-kernel
    
    Signed-off-by: Patrick Winnertz <win...@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 

_______________________________________________
Pkg-lustre-svn-commit mailing list
Pkg-lustre-svn-commit@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-lustre-svn-commit

Reply via email to