From nobody Fri Jul 15 22:18:03 2022 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Ll5Mv3V5tz4WmtZ; Fri, 15 Jul 2022 22:18:03 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Ll5Mv33DYz41pR; Fri, 15 Jul 2022 22:18:03 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1657923483; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=6yZWxqgWEkwzVZUUuKVhp8vpDVbeN9OL0fqPwbkrv18=; b=msJK8BDTRmz7JCpOyd5SdkR8APNT5x7szj5dDyxx5/SxwyiIDAUgPiuLp7MAHy7l9FvlBE P+GcXWXR62SAIX/A1rljxFobDap8iiTVlBzXU09HE5aCVpOZSl2P8adKHqXsUVyHP4Tr+1 dIVMu1UpPhhjC1RgmKTg8gbpzuIlERgenmNvSk7sgIO9YqM04JofQyAPDsBkGKA6gboP1A q0fEvK4JtcRyqusqXDUko2MzlOfw+Y9kGL6MCkf1fRWVlfCDYg/ILfjI9SmnGdJ2G5Wnmm fW+SXHgM/ixOxcux9FoZwSCaA8wZRk4YADvi36XbfaN3sIjPOvCEjgFt/3jdEw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Ll5Mv1v17zyQZ; Fri, 15 Jul 2022 22:18:03 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 26FMI35P099880; Fri, 15 Jul 2022 22:18:03 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 26FMI3ir099879; Fri, 15 Jul 2022 22:18:03 GMT (envelope-from git) Date: Fri, 15 Jul 2022 22:18:03 GMT Message-Id: <202207152218.26FMI3ir099879@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Jessica Clarke Subject: git: 76c100d63458 - main - etc: Fix distrib-dirs to not rely on a BSDism List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jrtc27 X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 76c100d6345884d2deea5b334f4a2b0bf412f877 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1657923483; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=6yZWxqgWEkwzVZUUuKVhp8vpDVbeN9OL0fqPwbkrv18=; b=oS9zy0H+41wd9/P+Mt2/uWq4sU+Z3tNVaVEbBuheAN++sHb/RnyaHRPBUGqwgBRE5JUtuU 1jG/knSOkUClvuvcG5eNG+J720teJCDesFXY6dL4/6MUbLZf2CgUa//GFSNVCrITIFAu9w vlv6nb4nZVf1NcXkw408ONBfZUQHk8raWVhJND5YSvvbrJ++USWd7ZqbbHNV7Ynd0RHyEK e+cMb4cQ4F+i7Wb49wGg2FMaDGkSK01kvS7UA9gIEiQ8kGtPmvgit6iaYMDWWOt6iYcHZQ c8Y7YMjXY03OBs7DvG/9SpheboLOgGXva4MqYyvqdoDaqHBdFrLzQfkumaZPsg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1657923483; a=rsa-sha256; cv=none; b=uASCPQk/N4T0ejUdZ6La8QmMfBiuPPAQwHJbeDKwM4fjBqWdc3XnYK3WFxE7fR8rkMSElP dnu/rs30nyg96lVysGyhXKK0Va2w6+GGVfUcOD8AFYGx/9v8wLlOD0qccSQYCn5OmXCjnH 0uuFTtCuCpWAZWGhpVfWdXWdr/+RI2oeJvibBs4EBephjfWNjVWEUH4LEl0paW3swH8KwU hLHlIcbfWyLfX5oXBG8XNmXZuSiv++Da3GQPMgjB3BcswwxDlP7QgJxKL5bZoOADvv28iu anGzOcItj8oAJJ5iGkRC2fvHUFNiDHsZ398FLda++MCyOc93BOCMGf1ucW8ypg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jrtc27: URL: https://cgit.FreeBSD.org/src/commit/?id=76c100d6345884d2deea5b334f4a2b0bf412f877 commit 76c100d6345884d2deea5b334f4a2b0bf412f877 Author: Jessica Clarke AuthorDate: 2022-07-15 22:04:16 +0000 Commit: Jessica Clarke CommitDate: 2022-07-15 22:04:16 +0000 etc: Fix distrib-dirs to not rely on a BSDism FreeBSD and macOS have a test that treats == as an alias for =, but Linux tends to use GNU coreutils (when not a builtin) which does not. Use the standard syntax instead for compatibility. Obtained from: CheriBSD Differential Revision: https://reviews.freebsd.org/D35811 --- etc/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/Makefile b/etc/Makefile index 6a93f1cdbad3..c465596de3a0 100644 --- a/etc/Makefile +++ b/etc/Makefile @@ -145,7 +145,7 @@ distrib-dirs: ${MTREES:N/*} distrib-cleanup .PHONY .for _m _d in ${MTREES} @m=${.CURDIR}/${_m}; \ d=${_d}; \ - test "$$d" == "/" && d=""; \ + test "$$d" = "/" && d=""; \ d=${DISTBASE}$$d; \ test -d ${DESTDIR}/$$d || mkdir -p ${DESTDIR}/$$d; \ ${ECHO} "${MTREE_CMD:N-W} -C -f $$m -K all | " \