From: Andrew Borodin <borodin@zarya-k.ru>
To: community@lists.altlinux.org
Subject: Re: [Comm] Как задать переменную окружения?
Date: Sun, 26 Feb 2006 16:02:45 +0300
Message-ID: <20060226130245.GD5584@borodin.zarya> (raw)
In-Reply-To: <94a6689a0602260427t1ffc4c2dk@mail.gmail.com>
On Sun, Feb 26, 2006 at 03:27:47PM +0300, Алексей Данилович wrote:
> Такая проблема. Можно ли задать переменную окружения из
> скрипта? вроде как он делает это только для порожденных
> процессов, а назад не возвращает....
> просто export var=val работает. Из исп. файла - нет. Я туплю,
> видимо, простите за глупыыыый вопрос ;)
Надо скрипт запускать из-под команды source:
$ source /path/to/script
или
$ . /path/to/script
--
С уважением,
А. Бородин.
next prev parent reply other threads:[~2006-02-26 13:02 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-26 12:27 Алексей Данилович
2006-02-26 12:52 ` Artem Zolochevskiy
2006-02-26 13:02 ` Andrew Borodin [this message]
2006-02-26 13:03 ` Алексей Данилович
2006-02-26 13:03 ` Damir Shayhutdinov
2006-02-26 13:55 ` Vladimir Karpinsky
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=20060226130245.GD5584@borodin.zarya \
--to=borodin@zarya-k.ru \
--cc=community@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 Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git