Re: Fink and 'sh'
Re: Fink and 'sh'
- Subject: Re: Fink and 'sh'
- From: Martin Orpen <email@hidden>
- Date: Mon, 22 Mar 2004 07:41:20 +0000
on 21/3/04 11:49 pm, Brennan at email@hidden wrote:
>
I just installed 'LAME' with Fink. It works fine from the Terminal
>
('tcsh') but Applescript 'do shell script' is complaining that sh doesn't
>
know the command 'lame'.
>
>
Is there something special I should do to make this work?
As others have said already, you can specify the path to the command.
However, I'd like to know why the shell does not honour the users PATH?
I've set both bash and tcsh paths to include /usr/local/bin, sw/bin and
sw/sbin. So, my bash path looks like this:
PATH=/sw/bin:/sw/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/sw/bin:/
sw/sbin/b in:/usr/X11R6/bin
Supposedly bash is the shell default, but I can't get this from AS:
set myPath to do shell script "env | grep PATH"
-->"PATH=/usr/bin:/bin:/usr/sbin:/sbin:/Users/martinorpen"
Anybody know where *this* path is specified?
--
Martin Orpen
Idea Digital Imaging Ltd -- The Image Specialists
http://www.idea-digital.com
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.