Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fix an issue with get_ver() function and 3.x kernels

Signed-off-by: Stratos Psomadakis <psomas@cslab.ece.ntua.gr>
  • Loading branch information...
commit ad84385f48ccf8c93374043f15342148e695ae02 1 parent d5110a6
Stratos Psomadakis authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  ketchup
2  ketchup
@@ -260,7 +260,7 @@ def get_ver(makefile):
260 260
261 261 # atm we use VERSION.PATCHLEVEL for Linus' releases and EXTRAVERSION for
262 262 # the -stable releases
263   - if part['VERSION'] >= '3':
  263 + if part['VERSION'] >= '3'and part['SUBLEVEL'] == 0:
264 264 version = "%s.%s" % tuple([part[p] for p in parts[:2]])
265 265 else:
266 266 version = "%s.%s.%s" % tuple([part[p] for p in parts[:3]])

0 comments on commit ad84385

Please sign in to comment.
Something went wrong with that request. Please try again.