ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Zilke Pavel <zidex@rol.ru>
To: community@altlinux.ru
Subject: Re: [Comm] Временные пути
Date: Thu, 17 Feb 2005 17:43:42 +0300
Message-ID: <4214AD9E.8050807@rol.ru> (raw)
In-Reply-To: <20050217150300.58ff3f0c@super-comp.home.net>

Drool пишет:

>	Привет всем!
>
>	Есть программулина, исполняемый файл лежит в /usr/bin, который жестко хотит
>присутствия в этом же каталоге директорий img и res... Захламлять /usr/bin
>сторонними папками некрасиво, я их сложил в /usr/share/имя_программы, а из
>положения вышел путем создания симлинков на нее в /usr/bin... Тоже не есть
>совсем кошерно... Вижу выход в создании запускающего sh-скрипта типа
>
>	cd /usr/bin/
>	./имя_программы
>
>	Но возможно ли задание в этом файле временного пути на время запуска программы,
>который бы обманывал ее и подсовывал нужные пути к нужным каталогам?
>_______________________________________________
>  
>
А что если сделать так?
Положить программу в /usr/lib/программулина и img и res туда же.
А в /usr/bin положить запускающий скрипт.


  parent reply	other threads:[~2005-02-17 14:43 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
2005-02-17 14:43 ` Zilke Pavel [this message]
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=4214AD9E.8050807@rol.ru \
    --to=zidex@rol.ru \
    --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