commit: 412685ab6c1a3a294836a9729e389a28834a33db
Author: Naohiro Aota <naota <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 1 09:29:27 2020 +0000
Commit: Naohiro Aota <naota <AT> gentoo <DOT> org>
CommitDate: Thu Jul 30 07:21:26 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=412685ab
ruby-ng-gnome2.eclass: Use [[ instead of [
Signed-off-by: Naohiro Aota <naota <AT> gentoo.org>
eclass/ruby-ng-gnome2.eclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/eclass/ruby-ng-gnome2.eclass b/eclass/ruby-ng-gnome2.eclass
index 4f3f6011501..7391ef14069 100644
--- a/eclass/ruby-ng-gnome2.eclass
+++ b/eclass/ruby-ng-gnome2.eclass
@@ -77,7 +77,7 @@ each_ruby_install() {
# Install the files common to all ruby targets.
all_ruby_install() {
for doc in ../AUTHORS ../NEWS ChangeLog README; do
- [ -s "$doc" ] && dodoc $doc
+ [[ -s ${doc} ]] && dodoc $doc
done
if [[ -d sample ]]; then
insinto /usr/share/doc/${PF}