Gentoo Archives: gentoo-commits

From: Naohiro Aota <naota@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/
Date: Thu, 30 Jul 2020 07:21:46
Message-Id: 1596093686.412685ab6c1a3a294836a9729e389a28834a33db.naota@gentoo
1 commit: 412685ab6c1a3a294836a9729e389a28834a33db
2 Author: Naohiro Aota <naota <AT> gentoo <DOT> org>
3 AuthorDate: Sun Mar 1 09:29:27 2020 +0000
4 Commit: Naohiro Aota <naota <AT> gentoo <DOT> org>
5 CommitDate: Thu Jul 30 07:21:26 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=412685ab
7
8 ruby-ng-gnome2.eclass: Use [[ instead of [
9
10 Signed-off-by: Naohiro Aota <naota <AT> gentoo.org>
11
12 eclass/ruby-ng-gnome2.eclass | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15 diff --git a/eclass/ruby-ng-gnome2.eclass b/eclass/ruby-ng-gnome2.eclass
16 index 4f3f6011501..7391ef14069 100644
17 --- a/eclass/ruby-ng-gnome2.eclass
18 +++ b/eclass/ruby-ng-gnome2.eclass
19 @@ -77,7 +77,7 @@ each_ruby_install() {
20 # Install the files common to all ruby targets.
21 all_ruby_install() {
22 for doc in ../AUTHORS ../NEWS ChangeLog README; do
23 - [ -s "$doc" ] && dodoc $doc
24 + [[ -s ${doc} ]] && dodoc $doc
25 done
26 if [[ -d sample ]]; then
27 insinto /usr/share/doc/${PF}