From 92d962642856590cabc2664d8499d684cf5c5916 Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Sat, 19 May 2012 09:33:42 -0700 Subject: [PATCH] stable/apply_it: handle kernel version on the command line --- stable/apply_it | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/stable/apply_it b/stable/apply_it index 7bf7ddd..3453080 100755 --- a/stable/apply_it +++ b/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