ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [mdk-re] [JT] $PATH contains many dirs twice
@ 2001-09-25 23:10 HB
  2001-09-26 12:46 ` Dmitry V. Levin
  0 siblings, 1 reply; 4+ messages in thread
From: HB @ 2001-09-25 23:10 UTC (permalink / raw)
  To: mandrake-russian

Дистрибутив Spring 2001 из коробки.

$ grep \$PATH /etc/profile
[ "$PATH" != "${PATH//$HOME\/bin}" ] || PATH="$HOME/bin:$PATH"
[ "$PATH" != "${PATH//\/usr\/X11R6\/bin}" ] || PATH="$PATH:/usr/X11R6/bin"
[ "$PATH" != "${PATH//\/usr\/games}" ] || PATH="$PATH:/usr/games"
PATH=$PATH:/usr/X11R6/bin:/usr/games

$ grep \$PATH ~/.bash_profile
PATH=$PATH:$HOME/bin

В результате $PATH содержит каталоги ~/bin, /usr/X11R6/bin и /usr/games
по 2 раза:

$ echo $PATH
/home/hb/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games:/usr/X11R6/bin:/usr/games:/home/hb/bin

Не сочтите меня придирой или педантом, но все-таки, полагаю, это
небольшая недоработочка. /* Или я чего-то не понимаю? */
Очень хотелось бы не видеть такого в след. версиях дистрибутива.
Спасибо заранее.

-- 
HB



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2001-09-26 19:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-25 23:10 [mdk-re] [JT] $PATH contains many dirs twice HB
2001-09-26 12:46 ` Dmitry V. Levin
2001-09-26 17:40   ` HB
2001-09-26 19:11     ` [mdk-re] " Dmitry V. Levin

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