From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate001.proxmox.com (gate001.proxmox.com [45.144.208.40]) by lore.proxmox.com (Postfix) with ESMTPS id C4A0F1FF0AE for ; Tue, 29 Sep 2026 14:31:52 +0200 (CEST) Received: from gate001.proxmox.com (localhost.localdomain [127.0.0.1]) by gate001.proxmox.com (Proxmox) with ESMTP id 417E42164C; Tue, 29 Sep 2026 14:31:49 +0200 (CEST) From: Elias Huhsovitz To: pve-devel@lists.proxmox.com Subject: [PATCH proxmox 2/3] build.sh: replace legacy empty string check with -z Date: Tue, 29 Sep 2026 14:31:03 +0200 Message-ID: <20260929123104.129264-3-e.huhsovitz@proxmox.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260929123104.129264-1-e.huhsovitz@proxmox.com> References: <20260929123104.129264-1-e.huhsovitz@proxmox.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1790685077070 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.594 Adjusted score from AWL reputation of From: address DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment (newer systems) RCVD_IN_DNSWL_MED -2.3 Sender listed at https://www.dnswl.org/, medium trust SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Message-ID-Hash: NVRAYO72LZQGY7BK3P3PGK7ERVJUIGNE X-Message-ID-Hash: NVRAYO72LZQGY7BK3P3PGK7ERVJUIGNE X-MailFrom: e.huhsovitz@proxmox.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Elias Huhsovitz X-Mailman-Version: 3.3.10 Precedence: list List-Id: Proxmox VE development discussion List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Signed-off-by: Elias Huhsovitz --- build.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build.sh b/build.sh index d242c5c7..dcf1eb97 100755 --- a/build.sh +++ b/build.sh @@ -19,7 +19,7 @@ CONTROL="$PWD/${CRATE}/debian/control" if [ -e "$CONTROL" ]; then # check but only warn, debcargo fails anyway if crates are missing dpkg-checkbuilddeps $PWD/${CRATE}/debian/control || true - [ "x$NOCONTROL" = 'x' ] && rm -f "$PWD/${CRATE}/debian/control" + [ -z "$NOCONTROL" ] && rm -f "$PWD/${CRATE}/debian/control" fi debcargo package \ @@ -35,6 +35,6 @@ rm -f debian/source/format.debcargo.hint ${BUILDCMD} # needs all crates build-dependencies, which can be more than what debcargo assembles. -[ "x$NOTEST" = "x" ] && ${TEST_CMD} +[ -z "$NOTEST" ] && ${TEST_CMD} -[ "x$NOCONTROL" = "x" ] && cp debian/control "$CONTROL" +[ -z "$NOCONTROL" ] && cp debian/control "$CONTROL" -- 2.47.3