[Pkg-lustre-svn-commit] updated: [26475f3] fix if condition Signed-off-by: Patrick Winnertz <winnie at debian.org>

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


The following commit has been merged in the master branch:
commit 26475f37cd9b03df5bc42223631e0cc0241fb837
Author: Patrick Winnertz <winnie at debian.org>
Date:   Wed Jun 23 11:49:40 2010 +0200

    fix if condition
    Signed-off-by: Patrick Winnertz <winnie at debian.org>

diff --git a/debian/rules b/debian/rules
index 1d08fdb..023f4dd 100755
--- a/debian/rules
+++ b/debian/rules
@@ -265,7 +265,7 @@ 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 (test -d /usr/src/ofa-kernel-headers-$(KVERS)); then 
+	if [ -d /usr/src/ofa-kernel-headers-$(KVERS) ]; then 
 	    OFA_KERNEL="--with-o2ib=/usr/src/ofa-kernel-headers-$(KVERS)"
 	else
 	    OFA_KERNEL=""

-- 
Lustre Debian Packaging 



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