Home Home > GIT Browse
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Marek <mmarek@suse.cz>2011-07-25 11:06:14 +0200
committerMichal Marek <mmarek@suse.cz>2011-07-25 12:26:04 +0200
commit384948eafcfe26b7673ced6794da3d6e2a160b17 (patch)
treee3650fa2fb6e49e3ff285c9521181ef3035fa579
parent04cbe404138f8942a9a459b555f206740225e215 (diff)
mainline-commit: Fix for 3.0 final
-rwxr-xr-xscripts/mainline-commit5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/mainline-commit b/scripts/mainline-commit
index 3463e11f48..7b79abba51 100755
--- a/scripts/mainline-commit
+++ b/scripts/mainline-commit
@@ -209,8 +209,11 @@ get_base_id()
fi
local is_stable=false
case "$base" in
- 3.0.0-rc*)
+ [3-9].*.0-rc* | [1-9][0-9].*.0-rc*)
base=${base/.0-/-}
+ ;;
+ [3-9].*.0 | [1-9][0-9].*.0)
+ base=${base%.0}
esac
case "$base" in
2.6.11.*)