From 19b8867768fe9470fa209ed0caddabe5a75ced45 Mon Sep 17 00:00:00 2001 From: "Luis R. Rodriguez" Date: Tue, 7 May 2013 02:07:05 -0700 Subject: [PATCH] ckmake: rename get_rel_spec() to get_rel_spec_ubuntu() Vanilla Linux kernels are being used but the directory file naming for for the kernels are Ubuntu specific, clarify that. Signed-off-by: Luis R. Rodriguez Signed-off-by: Johannes Berg --- devel/ckmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/devel/ckmake b/devel/ckmake index bb81eb49ddb7..d77da62087c8 100755 --- a/devel/ckmake +++ b/devel/ckmake @@ -220,7 +220,7 @@ def sig_handler(signal, frame): clean() sys.exit(-2) -def get_rel_spec(rel): +def get_rel_spec_ubuntu(rel): if ("rc" in rel): m = re.match(r"v*(?P\d+)\.+" \ "(?P\d+)[.]+" \ @@ -325,7 +325,7 @@ class kernel_set(): for dirname, dirnames, filenames in os.walk(modules): dirnames.sort() for subdirname in dirnames: - specifics = get_rel_spec(subdirname) + specifics = get_rel_spec_ubuntu(subdirname) if (not specifics): continue rc = False -- 2.30.2