From nobody Sat Jun 03 11:07:03 2023 X-Original-To: dev-commits-ports-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 4QYHBb6bt4z4ZKFs; Sat, 3 Jun 2023 11:07: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 4QYHBb5pncz3mfk; Sat, 3 Jun 2023 11:07:03 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685790423; 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=kW7O8Q2vN0TM7EL46kZywPZD9v+UX0tK/qCY2szbdOI=; b=WOpV55XhIHQNTdt+p8hCbMTrUYRwD8MCpehxr3Os65b4nh26jvOQls4bTW2JRVjge8AncO lavJgemAdoUFaoejrFegn6Dslhhe3lJHaKx7ZEatxTb6PBBekifQb04Tw8kSlUp7h53O3r uI4gI/FLxcC1lEStG4xpZF7kGHTHdgn5dCmxORo3pVRv6RcF8b4b3bWogcrHPwIYsCz28N a3b4k7taj5wHL8mVN4SQr2NvaTc9uukmp/iNMUMT+yHtK/wDLXEz4OB4dsBaut2zBJd8cK ykUjRzNAwmYc38uji4mqCRBqWBmqxixPK2fkWB/BwXCe8cs1qmQ3TdddQc9JKQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685790423; 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=kW7O8Q2vN0TM7EL46kZywPZD9v+UX0tK/qCY2szbdOI=; b=lDyuFQqlTRaqjA302WTgRJKOctWpiwpH3iZjARzs8TPVjHMzhkJ11ExVJ9okqc3GqP8tKr COfnvmGNiYIbj3ckUPaXO5VLRTw5l7bsDhVHZsKlYshJqrfTGYUPjdpjaCm6Deki1XnnFa itQqVaBCYjTnXsnXPp2e7m9TttNsB0j3IC24HcAJr/4/QZDXCMxZ0wyJSAw0BpxIdLYhLL 6kqhU0HJW89LKVWj2rltVCnUzfZt+NmL1JsKOFH7B/uIXPdbQ7t0TiFMHcpKRjvysmTjpI 3vrYMBMWMw8947+Su/ROHsLQeBNWJJtGKTkkyPlx3DPYVQU3p+LcWXgD3cu9qg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1685790423; a=rsa-sha256; cv=none; b=QDPDAomxzE1kYZdRitNMD8sNWVXfssW92GE1pVhyZAwe1AagYzvcGUIIvzJz0Zky37fsy9 EOws+0zGlg3ev5729rKa66FaJEHJPoT5lRLR9X+WcBpeXedtSJRZMq0o/bR2rSdbYV7t2+ PwYeZ0hKD0vzkunNrlsNlzXKIGxcYhjbjtNw95BcdHywV7tfOZ7kaGRCAYiQPOhMWZ4Ryz m+lja7cxadfW1DLmyrKnjFOEbU5Yg9R8/k+KFgwz9zsxVm+1Woh5bweCS+d6dJ/f4up/tG Fh4KZW0LjWp8aHJVFNrKoq9CbSbOXhr95G/J9FX/fqbndhk75Dc3Eups8rL2kQ== 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 4QYHBb4sNNzNQD; Sat, 3 Jun 2023 11:07: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 353B73CF025304; Sat, 3 Jun 2023 11:07:03 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 353B7321025303; Sat, 3 Jun 2023 11:07:03 GMT (envelope-from git) Date: Sat, 3 Jun 2023 11:07:03 GMT Message-Id: <202306031107.353B7321025303@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Rene Ladan Subject: git: 206e6293bd6c - main - Tools/scripts/rmport: do not add a trailing colon when only removing one port List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: rene X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 206e6293bd6cf689ecc3893f1306f171c0a2e8d0 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by rene: URL: https://cgit.FreeBSD.org/ports/commit/?id=206e6293bd6cf689ecc3893f1306f171c0a2e8d0 commit 206e6293bd6cf689ecc3893f1306f171c0a2e8d0 Author: Rene Ladan AuthorDate: 2023-06-03 11:05:28 +0000 Commit: Rene Ladan CommitDate: 2023-06-03 11:06:52 +0000 Tools/scripts/rmport: do not add a trailing colon when only removing one port Reported by: sunpoet (via private mail) --- Tools/scripts/rmport | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Tools/scripts/rmport b/Tools/scripts/rmport index aea264512b87..776f1efcb8c0 100755 --- a/Tools/scripts/rmport +++ b/Tools/scripts/rmport @@ -415,13 +415,15 @@ gitrmlist=$(mktemp -t gitrmlist) if [ $# -eq 1 ] ; then topic="${1%/}" plural="" + colon="" else log "/!\\ Removing multiple ports at once, commit topic will be generic /!\\" topic="cleanup" plural="s" + colon=":" fi -echo "${topic}: Remove expired port${plural}:" > ${gitlog} +echo "${topic}: Remove expired port${plural}${colon}" > ${gitlog} echo "" >> ${gitlog} for catport in $* ; do