Gentoo Archives: gentoo-dev

From: Ulrich Mueller <ulm@g.o>
To: Sam James <sam@g.o>
Cc: gentoo-dev@l.g.o, kernel@g.o
Subject: Re: [gentoo-dev] [PATCH 1/3] linux-mod.eclass: use consistent style
Date: Sun, 25 Dec 2022 22:26:53
Message-Id: ucz87jfd6@gentoo.org
In Reply to: [gentoo-dev] [PATCH 1/3] linux-mod.eclass: use consistent style by Sam James
1 >>>>> On Sun, 25 Dec 2022, Sam James wrote:
2
3 > + [[ ${KV_MAJOR} -eq 2 && ${KV_MINOR} -gt 5 && ${KV_PATCH} -gt 5 ]] && \
4 > return 0 || return 1
5
6 Ouch. :)
7
8 The "&& return 0 || return 1" can be omitted.
9
10 > }

Attachments

File name MIME type
signature.asc application/pgp-signature