Made sure that patch generation also works for other kernel versions than 2.6.26.8.
authorbvassche <bvassche@d57e44dd-8a1f-0410-8b47-8ef2f437770f>
Wed, 14 Oct 2009 17:10:46 +0000 (17:10 +0000)
committerbvassche <bvassche@d57e44dd-8a1f-0410-8b47-8ef2f437770f>
Wed, 14 Oct 2009 17:10:46 +0000 (17:10 +0000)
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1215 d57e44dd-8a1f-0410-8b47-8ef2f437770f

scripts/generate-kernel-patch

index 9eb9cd5..7da0389 100755 (executable)
@@ -341,7 +341,7 @@ add_file "iscsi-scst/README_in-tree" "Documentation/scst/README.iscsi" \
 if [ "${qla2x00t}" = "true" ]; then
 
   if [ ! -e qla2x00t/qla2xxx-orig/$1 ]; then
-    ( cd qla2x00t && ./extract-qla2xxx-orig 2.6.26.8 )
+    ( cd qla2x00t && ./extract-qla2xxx-orig "$1" )
   fi
   ( cd qla2x00t && ./generate-in-tree-patches "$1" )