From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 48709158086 for ; Sat, 8 Jan 2022 20:54:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D19A22BC037; Sat, 8 Jan 2022 20:54:03 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 pigeon.gentoo.org (Postfix) with ESMTPS id 8A1722BC037 for ; Sat, 8 Jan 2022 20:53:57 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 C58DA342E04 for ; Sat, 8 Jan 2022 20:53:56 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 25C2B1BF for ; Sat, 8 Jan 2022 20:53:55 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1641675192.62501cdddf09cd92689fb5e8f87c4369fd636cf5.ulm@gentoo> Subject: [gentoo-commits] proj/eselect:master commit in: bin/, / X-VCS-Repository: proj/eselect X-VCS-Files: ChangeLog bin/eselect.in X-VCS-Directories: bin/ / X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: 62501cdddf09cd92689fb5e8f87c4369fd636cf5 X-VCS-Branch: master Date: Sat, 8 Jan 2022 20:53:55 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 8bb3e65b-cf9e-48bf-a3f4-a341758e4df3 X-Archives-Hash: b7d0799f4256e07e4786d387ed7a3184 commit: 62501cdddf09cd92689fb5e8f87c4369fd636cf5 Author: Ulrich Müller gentoo org> AuthorDate: Sat Jan 8 20:53:12 2022 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Sat Jan 8 20:53:12 2022 +0000 URL: https://gitweb.gentoo.org/proj/eselect.git/commit/?id=62501cdd Error out if --root has no option argument * bin/eselect.in: Error out if --root has no option argument. Signed-off-by: Ulrich Müller gentoo.org> ChangeLog | 2 ++ bin/eselect.in | 1 + 2 files changed, 3 insertions(+) diff --git a/ChangeLog b/ChangeLog index d40ac8d..ac7c78b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2022-01-08 Ulrich Müller + * bin/eselect.in: Error out if --root has no option argument. + * configure.ac: Update version to 1.4.19. * Tagged 1.4.19 release. diff --git a/bin/eselect.in b/bin/eselect.in index 3422197..4caa87e 100755 --- a/bin/eselect.in +++ b/bin/eselect.in @@ -150,6 +150,7 @@ while [[ ${1##--} != "$1" ]]; do action=${1##--} ;; root=*|root) + [[ ${1#*=} == "$1" ]] && die -q "Option $1 requires an argument" # set ROOT and recalculate EROOT ROOT=${1#*=} EROOT="${ROOT%${EPREFIX:+/}}${EPREFIX}"