ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Alexey Tourbin <alexey.tourbin@gmail.com>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] [#210675] EPERM bash.git=4.2.53-alt1
Date: Tue, 24 Jul 2018 16:07:35 +0300
Message-ID: <CA+qzenn0yUbU2uj=0yBE6di_gsR73Ks0T=14DH1HKJ0ovkzHtQ@mail.gmail.com> (raw)
In-Reply-To: <20180724124549.GF29820@imap.altlinux.org>

2018-07-24 15:45 GMT+03:00 Michael Shigorin <mike@altlinux.org>:
> On Tue, Jul 24, 2018 at 03:09:34PM +0300, Alexey Tourbin wrote:
>> > bash3 (/bin/sh3 и /bin/bash3) нужно сохранить.
>> А зачем bash3 нужно сохранить?  Ничем кроме perpetuation
>> локальной кривизны это мотивироваться не может.
>
> Потому что напороться на изменение поведения можно не только
> локально, а всю кривизну исправить -- Земля плоская будет, однако!

Другие дистрибутивы не предоставляют bash3 как меру обоспечения
совместимости. Потребности в этом нету. То есть все дело в наших с
вами кривых скриптах, которые написаны давно и на которые смотреть
лишний раз не хочется.  Ценный склад полезных утилит, в которых
запечатлена мудрость русского дистрибутива.

Кстати, такая конструкция, как в
http://git.altlinux.org/people/ldv/packages/girar.git?p=girar.git;a=blob_plain;f=gb/gb-build-task;hb=d3db7504
в bash4 работать перестала.

#!/bin/sh -e
(
  cmd1
  cmd2
)
rc=$?

Теперь cmd1 cmd2 отваливают весь скрипт по errexit.  А раньше
отваливалось только внутри скобок.

  parent reply	other threads:[~2018-07-24 13:07 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-24  9:15 ` Aleksei Nikiforov
2018-07-24  9:25   ` Michael Shigorin
2018-07-24  9:33     ` Aleksei Nikiforov
2018-07-24  9:45       ` Alexey Tourbin
2018-07-24 11:29   ` Dmitry V. Levin
2018-07-24 12:09     ` Alexey Tourbin
2018-07-24 12:45       ` Michael Shigorin
2018-07-24 12:47         ` Anton Farygin
2018-07-24 13:07         ` Alexey Tourbin [this message]
2018-07-27 12:17           ` Alexey Tourbin
2018-07-27 12:25             ` Paul Wolneykien
2018-07-27 12:30               ` Alexey Tourbin
2018-07-27 12:36                 ` Vladislav Zavjalov

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='CA+qzenn0yUbU2uj=0yBE6di_gsR73Ks0T=14DH1HKJ0ovkzHtQ@mail.gmail.com' \
    --to=alexey.tourbin@gmail.com \
    --cc=devel@lists.altlinux.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

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git