Detect ibsim version properly as it is defined in the tree rather than
using hard coded "0.4" value.

Signed-off-by: Sasha Khapyorsky <[EMAIL PROTECTED]>
---

The patch is against ofed_1_4 branch.

 make.srpms |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/make.srpms b/make.srpms
index 515384a..d3b92b7 100755
--- a/make.srpms
+++ b/make.srpms
@@ -66,7 +66,7 @@ case $NAME in
     NAME=dapl
     ;;
     ibsim)
-    VERSION=0.4
+    VERSION=`sed -ne '/#define IBSIM_VERSION/s/^.*\"\(.*\)\".*$/\1/p' 
ibsim/ibsim.c`
     ;;
     qlvnictools)
     VERSION=0.0.1
-- 
1.6.0.3.517.g759a

_______________________________________________
ewg mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg

Reply via email to