From nobody Fri Sep 11 05:32:43 2026 X-Original-To: dev-commits-src-main@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 4hh38r20bGz6rf0S for ; Fri, 11 Sep 2026 05:32:44 +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 "YR2" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4hh38r0dHkz4P6c for ; Fri, 11 Sep 2026 05:32:44 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1789104764; 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=zY0bl7UXsGAlSmRI0D3MCu+VHUIB7oh4opkOqQeBmMM=; b=f8v5wQIu/Is2jM8NQLIUEdByUoIZ4tFXoSLguFVvWXFV3UL97pL4ogh8pZcm84qU8Gh/sj z+eDcsy3eY6sIGoboFUdhFVDfB10gG+9aiQcHmZFReO/+eHjh5snDSOggPFE631a7bO8uU 4NwffODazD5urEQWlgR7vLb1ZVl35wMgmxiJfn7BSzwxPrm1R0B1WIlysbKcREbwEKl3ob cGDyrhhH4N1j59v18ib2Tj56kyK4qq5tmLJZCa9w2W05hbpxTuC7tRVeSqt5ssQUAnQPtV +2h0wHExEo/BWjaPUzaYPVrZKanSX7bCH24AMHLXBgmmlwCSZu8VJE3tW8JzOw== ARC-Seal: i=1; a=rsa-sha256; d=freebsd.org; s=dkim; cv=none; t=1789104764; b=nT+sEHsiATzVhs0NFDWPd5HTU8KUzPXAwT4M4Kf8haXO/2GWMoEzRbFIdhXO/bZlnxyIfT BBGsSHEcgbPBoGJUp7pm2V6nWW5Vf5hwJ5v4QL9gT6Gqz8584FrYGEC2AMty2W+Ne3+LHy M7oYXy7kftZmC3YbvSTV1ULw+TSdAGorAuIridLJJR6GNDUTMr7axSCU6AUY1ymFErswsy kS0XSR7AV7Z5j6a45+ismZpVgItln+6R4Lmz0hpo2e42fePovAUVWXiCZ+RUE6kguIEobP KYoYfniKFUF8PlXs15gFUHpGWRuI/M76bWfxLhh4RZl+2dXXVkURRzK5Vr2a0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1789104764; 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=zY0bl7UXsGAlSmRI0D3MCu+VHUIB7oh4opkOqQeBmMM=; b=EyjZL9an5vaH61ZjUnxNxBkslhXFdl513NxqodLkbGtH7Hj1a085TDSIstHnzbgRN3plnK MR8Lq5bHw3YM2nZjHFXqfcLM5ByxA45NboQ9iAyqAgFKnn11fxcogDxrcqaGtbgPziX55r LBn9r6t+4qN3YxSQqfyP2VeGA9KmSyblRH2mgNa09hTWJxIoZtPIBW+m9z/sBnLkSxaHid bGUyGRWkBhsTZ7hTtxwh2G9nSLQalB1pgGM/z+XsoiwSYi++4Z34rf70fuXEjHdoU9JhPt eTVnKVfnefey6ZlUI1ppP1Etyjnc0O/t9ibravJ+gt0vo2JCtLVLG0zcPuYWXg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4hh38q6q3mz11Bn for ; Fri, 11 Sep 2026 05:32:43 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 3ec31 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Fri, 11 Sep 2026 05:32:43 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Warner Losh Subject: git: 73df5f2ec93a - main - man: Do glob expansion with echo instead of ls List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: imp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 73df5f2ec93ab03a74fced49323bfdfdb1514700 Auto-Submitted: auto-generated Date: Fri, 11 Sep 2026 05:32:43 +0000 Message-Id: <6aa3927b.3ec31.36e23b6@gitrepo.freebsd.org> The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=73df5f2ec93ab03a74fced49323bfdfdb1514700 commit 73df5f2ec93ab03a74fced49323bfdfdb1514700 Author: Warner Losh AuthorDate: 2026-09-11 05:13:46 +0000 Commit: Warner Losh CommitDate: 2026-09-11 05:13:46 +0000 man: Do glob expansion with echo instead of ls echo is a shell builtin, and always present. While ls usually works, some upgrade scenarios need to have ls be a build to to work correctly. Rather than add it as a build tool, use echo instead which is always safe because sh is a build tool. Sponsored by: Netflix --- share/man/man4/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/man/man4/Makefile b/share/man/man4/Makefile index c11110ac447c..305597d8bedb 100644 --- a/share/man/man4/Makefile +++ b/share/man/man4/Makefile @@ -1009,7 +1009,7 @@ MLINKS+=cgem.4 if_cgem.4 .endif .if empty(MAN_ARCH) || ${MAN_ARCH} == "all" -__arches= ${:!/bin/sh -c "/bin/ls -d ${.CURDIR}/man4.*"!:E} +__arches= ${:!/bin/sh -c "echo ${.CURDIR}/man4.*"!:E} .else __arches= ${MAN_ARCH} .endif