From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1705158-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))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 74EA815812D
	for <garchives@archives.gentoo.org>; Thu, 02 Jan 2025 23:24:22 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 39021E075F;
	Thu, 02 Jan 2025 23:24:21 +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 B5ED0E077D
	for <gentoo-commits@lists.gentoo.org>; Thu, 02 Jan 2025 23:24:20 +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 B58DE33BEFF
	for <gentoo-commits@lists.gentoo.org>; Thu, 02 Jan 2025 23:24:19 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id E44A810C7
	for <gentoo-commits@lists.gentoo.org>; Thu, 02 Jan 2025 23:24:17 +0000 (UTC)
From: "Sam James" <sam@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, "Sam James" <sam@gentoo.org>
Message-ID: <1735859956.6cc041eb180b63f0b5b1a572bfd29bae581fc60d.sam@gentoo>
Subject: [gentoo-commits] proj/crossdev:master commit in: /
X-VCS-Repository: proj/crossdev
X-VCS-Files: crossdev
X-VCS-Directories: /
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: 6cc041eb180b63f0b5b1a572bfd29bae581fc60d
X-VCS-Branch: master
Date: Thu, 02 Jan 2025 23:24:17 +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: c8af48f9-3bdf-43d8-baf1-c02e2cbc0044
X-Archives-Hash: cbf7082c14e8cbdb613b0875e1158963

commit:     6cc041eb180b63f0b5b1a572bfd29bae581fc60d
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Jan  2 23:18:02 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jan  2 23:19:16 2025 +0000
URL:        https://gitweb.gentoo.org/proj/crossdev.git/commit/?id=6cc041eb

crossdev: small style tweaks

Signed-off-by: Sam James <sam <AT> gentoo.org>

 crossdev | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/crossdev b/crossdev
index e4747bf..3740578 100755
--- a/crossdev
+++ b/crossdev
@@ -448,7 +448,7 @@ parse_target() {
 			esac
 			;;
 	esac
-	if [[ $sanitizer_support = "no" ]]; then
+	if [[ ${sanitizer_support} = "no" ]]; then
 		GUSE+=" -sanitize"
 	fi
 
@@ -470,7 +470,7 @@ parse_target() {
 			esac
 			;;
 	esac
-	if [[ $vtv_support = "no" ]]; then
+	if [[ ${vtv_support} = "no" ]]; then
 		GUSE+=" -vtv"
 	fi
 
@@ -1443,7 +1443,8 @@ set_portage() {
 			force+=" multilib"
 			;;
 		*)
-			mask+=" multilib";;
+			mask+=" multilib"
+			;;
 	esac
 
 	set_use_mask ${pkg} "${mask}"
@@ -1576,7 +1577,7 @@ else
 	pkglist+=( B G D )
 fi
 for pkg in ${pkglist[@]}; do
-	set_portage $pkg
+	set_portage ${pkg}
 done
 
 for_each_extra_pkg set_portage X