ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Dmitry V. Levin" <ldv@fandra.org>
To: devel@linux.iplabs.ru
Subject: Re: [devel] LANG in rpm scripts
Date: Fri, 16 Feb 2001 05:24:55 +0300
Message-ID: <20010216052455.E2008@LDV.fandra.org> (raw)
In-Reply-To: <Pine.LNX.4.33L.0102152202200.1374-100000@zephyrous.ru>; from vanyaz@mccme.ru on Thu, Feb 15, 2001 at 10:04:24PM +0300

[-- Attachment #1: Type: text/plain, Size: 1490 bytes --]

On Thu, Feb 15, 2001 at 10:04:24PM +0300, Ivan Zakharyaschev 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 * нужен только для сборочных скриптов, или для всех,
> > включая
> > установочные, триггеры и пр. ?
> 
> Думаю, для установочных и триггеров не нужен (если это нигде ничему
> существенно не мешает --вопрос, наверное, как раз про это).

Не знаю, мешает или нет, я привык запускать rpm в локали C, за исключением
тех случаев, когда специально тестирую локализацию.

Послушаем, как считают остальные...


Regards,
	Dmitry

+-------------------------------------------------------------------------+
Dmitry V. Levin     mailto://ldv@fandra.org
Software Engineer   PGP pubkey http://www.fandra.org/users/ldv/pgpkeys.html
IPLabs Linux Team   http://linux.iplabs.ru
Fandra Project      http://www.fandra.org
+-------------------------------------------------------------------------+
UNIX is user friendly. It's just very selective about who its friends are.

[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]

  reply	other threads:[~2001-02-16  2:24 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
2001-02-16  2:24         ` Dmitry V. Levin [this message]
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=20010216052455.E2008@LDV.fandra.org \
    --to=ldv@fandra.org \
    --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