Gentoo Archives: gentoo-dev

From: Anna Vyalkova <cyber+gentoo@×××××.in>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [PATCH 1/2] vim-doc.eclass: support EAPI 8
Date: Wed, 06 Apr 2022 12:06:20
Message-Id: Yk2CLg2hsvohSivu@sysrq.in
In Reply to: Re: [gentoo-dev] [PATCH 1/2] vim-doc.eclass: support EAPI 8 by Anna Vyalkova
1 On 2022-04-06 17:01, Anna Vyalkova wrote:
2 > On 2022-04-06 12:54, Ulrich Mueller wrote:
3 > > >>>>> On Wed, 06 Apr 2022, Thomas Bracht Laumann Jespersen wrote:
4 > >
5 > > > - find $d/doc -name \*.txt -type l | while read s; do
6 > > > - [[ $(readlink "$s") = $vimfiles/* ]] && rm -f "$s"
7 > > > + find ${d}/doc -name \*.txt -type l | while read s; do
8 > > > + [[ $(readlink "${s}") = $vimfiles/* ]] && rm -f "${s}"
9 > >
10 > > This would profit from a "|| die" statement.
11 >
12 > This needs to be nonfatal.
13
14 No, it works fine with "|| die" too. I messed up with the syntax.