Browse files

Fix mistake of previous commit.

Signed-off-by: Stratos Psomadakis <psomas@cslab.ece.ntua.gr>
  • Loading branch information...
1 parent a657ce8 commit 3154e2e2c717fd6f3af64b6ae4e3364d098150b5 @psomas committed Jul 23, 2011
Showing with 6 additions and 0 deletions.
  1. +6 −0 ketchup
View
6 ketchup
@@ -652,6 +652,12 @@ def install_nearest(ver):
list.append((d, f, v))
list.sort()
+ # ugly hack, upstream dir is /v3.0 (not v3)
+ # FIXME: we assume that this will be the case for linux-4.0 and later releases
+ # if not, we'll have to fix it again :)
+ if t >= 3:
+ t += '.0'
+
if not list or (options["full-tarball"] and list[0][0]):
f = "linux-%s.tar.bz2" % ver
url = "%s/v%s/%s" % (kernel_url, t, f)

0 comments on commit 3154e2e

Please sign in to comment.