From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1702572-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id C9C231580FD
	for <garchives@archives.gentoo.org>; Mon, 23 Dec 2024 14:19:32 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 0EDBBE01E4;
	Mon, 23 Dec 2024 14:19:32 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id E8C45E01E4
	for <gentoo-commits@lists.gentoo.org>; Mon, 23 Dec 2024 14:19:31 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id DA60F33BE9F
	for <gentoo-commits@lists.gentoo.org>; Mon, 23 Dec 2024 14:19:30 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 33AE81048
	for <gentoo-commits@lists.gentoo.org>; Mon, 23 Dec 2024 14:19:29 +0000 (UTC)
From: "Ulrich Müller" <ulm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" <ulm@gentoo.org>
Message-ID: <1734963497.a727f2646e65b6f6e5b556936e3b87a242ef02bd.ulm@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-scheme/slib/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-scheme/slib/slib-3.3.1-r100.ebuild
X-VCS-Directories: dev-scheme/slib/
X-VCS-Committer: ulm
X-VCS-Committer-Name: Ulrich Müller
X-VCS-Revision: a727f2646e65b6f6e5b556936e3b87a242ef02bd
X-VCS-Branch: master
Date: Mon, 23 Dec 2024 14:19:29 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 6e661c55-6287-4db8-beef-18e6ecd69f31
X-Archives-Hash: 37f839132ad34e2b50c1c240b342e556

commit:     a727f2646e65b6f6e5b556936e3b87a242ef02bd
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 23 13:15:52 2024 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Mon Dec 23 14:18:17 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a727f264

dev-scheme/slib: Fix assert usage

Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 dev-scheme/slib/slib-3.3.1-r100.ebuild | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/dev-scheme/slib/slib-3.3.1-r100.ebuild b/dev-scheme/slib/slib-3.3.1-r100.ebuild
index dc08463bb4e8..897e2a76c744 100644
--- a/dev-scheme/slib/slib-3.3.1-r100.ebuild
+++ b/dev-scheme/slib/slib-3.3.1-r100.ebuild
@@ -62,9 +62,11 @@ _new_catalog() {
 
 guile_generate_catalog() {
 	# FIXME(arsen): we need to also compile the .go files..
-	local gpath="${ED}/$(${GUILE} -c '(display (%library-dir))')"
+	local gpath
+	gpath="${ED}/$(${GUILE} -c '(display (%library-dir))')" \
+		 || die "Could not determine the library directory"
 	local -x GUILE_IMPLEMENTATION_PATH="${gpath}"
-	assert "Could not determine the library directory"
+
 	mkdir -p "${gpath}" || die
 	ln -sr "${ED}/usr/share/slib" "${GUILE_IMPLEMENTATION_PATH}/slib" \
 		|| die
@@ -73,8 +75,7 @@ guile_generate_catalog() {
 			   -c "
 		(use-modules (ice-9 slib))
 		(require 'new-catalog)
-	"
-	assert "Failed to generate catalogs for Guile"
+	" || die "Failed to generate catalogs for Guile"
 }
 
 src_install() {