commit:     a791a1f54bb4290edd2e08797aff431d3737c0e2
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 18 05:33:36 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Nov 18 05:33:36 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a791a1f5

x11-wm/marco: Refactor to unbreak gpy-list-pkg-impls

Refactor so that plain "bash marco-1.28.1-r2.ebuild" call does not
trigger syntax errors, so gpy-list-pkg-impls can use it.

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 x11-wm/marco/marco-1.28.1-r2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/x11-wm/marco/marco-1.28.1-r2.ebuild 
b/x11-wm/marco/marco-1.28.1-r2.ebuild
index b4b18d3de582..89f6d23eba1c 100644
--- a/x11-wm/marco/marco-1.28.1-r2.ebuild
+++ b/x11-wm/marco/marco-1.28.1-r2.ebuild
@@ -10,8 +10,8 @@ PYTHON_COMPAT=( python3_{10..13} )
 
 inherit mate meson python-any-r1
 
-MINOR=$(($(ver_cut 2) % 2))
-if [[ ${MINOR} -eq 0 ]]; then
+MINOR=$(ver_cut 2)
+if [[ $(( MINOR % 2 )) -eq 0 ]]; then
        KEYWORDS="amd64 ~arm ~arm64 ~loong ~riscv x86"
 fi
 

Reply via email to