From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Mon, 16 May 2022 12:31:45 +0200 From: Alexey Gladkov To: ALT Linux Team development discussions Message-ID: <20220516103145.6suuuedszhuwgfp3@example.org> References: <6e54c901-22d6-af97-b315-8f550d63a2b5@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <6e54c901-22d6-af97-b315-8f550d63a2b5@gmail.com> Subject: Re: [devel] =?utf-8?b?0JrQsNC6INGC0YPRgiDQuNC30LHQsNCy0LjRgtGM0YE=?= =?utf-8?b?0Y8g0L7RgiBmZ3JlcCA/?= X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux Team development discussions List-Id: ALT Linux Team development discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 May 2022 10:31:47 -0000 Archived-At: List-Archive: List-Post: On Mon, May 16, 2022 at 07:57:12AM +0300, Ruslandh wrote: > Здравствуйте : > > > Что-то у меня в спеке palemoon неправильно работает этот кусок: > https://git.altlinux.org/people/ruslandh/packages/?p=palemoon.git;a=blob_plain;f=altlinux/palemoon.spec;hb=307ee06e02af33e502a8ac55a7008a772e514367 > > > # Add real RPATH > (set +x > rpath="/$(printf %%s '%palemoon_bindir' |tr '[:print:]' '_')" > > find \ > %buildroot/%palemoon_bindir \ > -type f | > while read f; do > t="$(readlink -ev "$f")" > > file "$t" | fgrep -qs ELF || continue > > if chrpath -l "$t" | fgrep -qs "PATH=$rpath"; then > chrpath -r "%palemoon_bindir" "$t" > fi > done > ) > > Во-первых хочу от fgrep избавиться, а во вторых я мог ошибку внести в него. Самое простое заменить fgrep на "grep -F". > Ruslandh, [16.05.2022 07:04] > На комнду > > chrpath -r "%palemoon_bindir" "$t" > > не выходит, хотя должен был Я вот этого не понял. -- Rgrds, legion