Browse files

stable/apply_it: handle kernel version on the command line

  • Loading branch information...
1 parent e913a95 commit 92d962642856590cabc2664d8499d684cf5c5916 @gregkh committed May 19, 2012
Showing with 10 additions and 5 deletions.
  1. +10 −5 stable/apply_it
View
15 stable/apply_it
@@ -18,6 +18,8 @@ if [ "$PATCH" == "" ] ; then
exit
fi
+KERNEL_VERSION=$2
+
#echo "PATCH=$PATCH"
apply_it ()
@@ -48,8 +50,11 @@ apply_it ()
cd ..
}
-
-apply_it 3.3
-#apply_it 3.2
-apply_it 3.0
-#apply_it 2.6.39
+if [ "$KERNEL_VERSION" != "" ] ; then
+ apply_it $KERNEL_VERSION
+else
+ apply_it 3.3
+ #apply_it 3.2
+ apply_it 3.0
+ #apply_it 2.6.39
+fi

0 comments on commit 92d9626

Please sign in to comment.