|
If I have to hack it like this, I'd prefer to list my different servers= in a global db and store the paths there.
Then I can build the path to IM depending on the server I am and my CMS tem=plates will work on all servers ...
Do we really have to work with full paths in the shell?
...
Thierry
Am 25.01.2012 um 16:19 schrieb Donovan Brooke:
> Thierry Almy wrote:
>> We'd like to set environment variables to be accessible by she=ll commands from WebDNA.
>>
>> The problem is, we are working with ImageMagick on different serve=rs where IM is installed on different locations.
>> If I use the hole path to the "convert" command it works= fine, but I'd like to just use the command itself without a path.
>>
>> We added the path in /etc/profiles and /etc/paths
>>
>> The IM commands are found in the terminal but not inside the WebDN=A shell tags ... where do we define the paths for apache/lighttpd/webdna?>> Or do we really have to work with full paths to the commands?
>>
>> Thierry
>
>
> Hi Thierry,
> Instead of environment variables, maybe functions.
>
> ..ie., have a vunction called [convert ..], where it first looks for t=he command within known paths from the different inviro's?
>
> Just a thought.
> Donovan
>
> --
> Donovan Brooke
> Euca Design Center
> www.euca.us
> www.keepittu=rning.co
> ---------------------------------------------------------
> This message is sent to you because you are subscribed to
> the mailing list <talk@webdna.us<=/a>>.
> To unsubscribe, E-mail to: <talk-leave@webdna.us>
> archives: http://mail.webdna.us/list/talk@webdna.us
> Bug Reporting: support@webdna.us<=/a>
---------------------------------------------------------
This message is sent to you because you are subscribed to
the mailing list <talk@webdna.us&g=t;.
To unsubscribe, E-mail to: <talk=-leave@webdna.us>
archives: http://mail.webdna.us/list/talk@webdna.us
Bug Reporting: support@webdna.us
DOWNLOAD WEBDNA NOW!
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...