ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Dmytro O. Redchuk" <dor@ldc.net>
To: community@altlinux.ru
Subject: Re: [Comm] Временные пути
Date: Thu, 17 Feb 2005 16:16:31 +0200
Message-ID: <20050217141631.GF8757@ldc.net> (raw)
In-Reply-To: <4214A59C.5030402@altlinux.ru>

On Thu, Feb 17, 2005 at 05:09:32PM +0300, Alexey Rusakov wrote:
> On 17.02.2005 16:03, Drool wrote:
> >	Есть программулина, исполняемый файл лежит в /usr/bin, который 
> >	жестко хотит
> >присутствия в этом же каталоге директорий img и res... Захламлять /usr/bin
> >сторонними папками некрасиво, я их сложил в /usr/share/имя_программы, а из
> >положения вышел путем создания симлинков на нее в /usr/bin... Тоже не есть
> >совсем кошерно... Вижу выход в создании запускающего sh-скрипта типа
> >
> >	cd /usr/bin/
> >	./имя_программы
> >
> >	Но возможно ли задание в этом файле временного пути на время запуска 
> >	программы,
> >который бы обманывал ее и подсовывал нужные пути к нужным каталогам?
> Может, всё-таки в консерватории подправить? Передо мной буквально вчера 
Как помне -- надо сначала глянуть в исходники (или strace -- что проще),
не хочет ли "оно" каких-то переменных окружения.

Потом можно и хакнуть :-)

> 
> -- 
>   Alexey "Ktirf" Rusakov
-- 
  _,-=._              /|_/|
  `-.}   `=._,.-=-._.,  @ @._,
     `._ _,-.   )      _,.-'
        `    G.m-"^m`m'        Dmytro O. Redchuk



  reply	other threads:[~2005-02-17 14:16 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-17 13:03 Drool
2005-02-17 14:09 ` Alexey Rusakov
2005-02-17 14:16   ` Dmytro O. Redchuk [this message]
2005-02-17 14:43 ` Zilke Pavel
2005-02-17 14:46   ` Alexey Rusakov
2005-02-18  8:53   ` Drool

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=20050217141631.GF8757@ldc.net \
    --to=dor@ldc.net \
    --cc=community@altlinux.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 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