From: "Thomas Deutschmann" <whissi@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/eselect-rust:master commit in: /
Date: Sun, 19 Apr 2020 01:21:52 +0000 (UTC) [thread overview]
Message-ID: <1587259241.190fdd480d33ef378167a15a8fb4136202445805.whissi@gentoo> (raw)
commit: 190fdd480d33ef378167a15a8fb4136202445805
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 19 01:20:41 2020 +0000
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Sun Apr 19 01:20:41 2020 +0000
URL: https://gitweb.gentoo.org/proj/eselect-rust.git/commit/?id=190fdd48
rust.eselect.in: make shellcheck happy
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
rust.eselect.in | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/rust.eselect.in b/rust.eselect.in
index 1b33280..c3ee046 100644
--- a/rust.eselect.in
+++ b/rust.eselect.in
@@ -215,7 +215,7 @@ describe_cleanup() {
}
do_cleanup() {
- [[ -z ${@} ]] || die -q "This function does not expect any arguments"
+ [[ -z ${*} ]] || die -q "This function does not expect any arguments"
# Do we need to clean up?
local missing_symlinks=( $(find_missing_broken_symlinks) )
@@ -283,7 +283,7 @@ describe_show() {
}
do_show() {
- [[ -z "${@}" ]] || die -q "Too many parameters"
+ [[ -z "${*}" ]] || die -q "Too many parameters"
write_list_start "Current Rust implementation:"
local targets=( $(find_targets) )
@@ -308,7 +308,7 @@ describe_update_options() {
do_update() {
local if_unset="0"
- while [[ $# > 0 ]]; do
+ while [[ $# -gt 0 ]]; do
case "$1" in
--if-unset)
if_unset="1"
next reply other threads:[~2020-04-19 1:21 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-19 1:21 Thomas Deutschmann [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-07-03 7:49 [gentoo-commits] proj/eselect-rust:master commit in: / Georgy Yakovlev
2020-04-19 1:21 Thomas Deutschmann
2020-04-19 1:21 Thomas Deutschmann
2020-01-01 22:25 Thomas Deutschmann
2020-01-01 22:25 Thomas Deutschmann
2020-01-01 22:05 Thomas Deutschmann
2019-03-11 5:02 Thomas Deutschmann
2019-03-11 5:02 Thomas Deutschmann
2019-03-11 5:02 Thomas Deutschmann
2019-03-11 5:02 Thomas Deutschmann
2019-03-11 5:02 Thomas Deutschmann
2019-03-11 5:02 Thomas Deutschmann
2019-03-11 5:02 Thomas Deutschmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1587259241.190fdd480d33ef378167a15a8fb4136202445805.whissi@gentoo \
--to=whissi@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox