ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Ivan Zakharyaschev <vanyaz@mccme.ru>
To: <devel@linux.iplabs.ru>
Subject: Re: [devel] LANG in rpm scripts
Date: Thu, 15 Feb 2001 22:04:24 +0300 (MSK)
Message-ID: <Pine.LNX.4.33L.0102152202200.1374-100000@zephyrous.ru> (raw)
In-Reply-To: <20010215024640.D31587@LDV.fandra.org>

On Thu, 15 Feb 2001, Dmitry V. Levin wrote:

> On Wed, Feb 14, 2001 at 07:30:01PM +0300, Peter Novodvorsky wrote:
> > > > Вопрос к Диме. Можно ли в начало всех шелл скриптов генерируемых
> > > > RPM добавить
> > > > export LANG=C
> > > > ?

> Есть пакеты, которые при сборке, видя LANG=C, отказываются создавать
> locale-specific файлы.
> Очевидно, это поведение пакетов неправильно, но дома я всегда собираю
> все
> пакеты с помощью такого скрипта:
>
> #!/bin/sh
> rm -f nohup.out
> unset LANG LANGUAGE LINGUAS LC_ALL LC_MESSAGES
> : ${RPM_EXE:=rpm}
> exec nohup nice time $RPM_EXE "$@"
>
> При этом все собирается правильно.

> Вопрос: unset * нужен только для сборочных скриптов, или для всех,
> включая
> установочные, триггеры и пр. ?

Думаю, для установочных и триггеров не нужен (если это нигде ничему
существенно не мешает --вопрос, наверное, как раз про это).

-- 
Best regards,
	Ivan Z.

_______________________________________________
Devel mailing list
Devel@linux.iplabs.ru
http://www.logic.ru/mailman/listinfo/devel


  reply	other threads:[~2001-02-15 19:04 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-14 14:35 Peter Novodvorsky
2001-02-14 16:16 ` Dmitry V. Levin
2001-02-14 16:17   ` Anton Farygin
2001-02-14 16:35     ` Dmitry V. Levin
2001-02-14 16:33       ` Peter Novodvorsky
2001-02-14 23:37         ` Dmitry V. Levin
2001-02-14 16:30   ` Peter Novodvorsky
2001-02-14 23:46     ` Dmitry V. Levin
2001-02-15 19:04       ` Ivan Zakharyaschev [this message]
2001-02-16  2:24         ` Dmitry V. Levin
2001-02-16  4:27           ` Peter Novodvorsky

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=Pine.LNX.4.33L.0102152202200.1374-100000@zephyrous.ru \
    --to=vanyaz@mccme.ru \
    --cc=devel@linux.iplabs.ru \
    /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