Applescript cannot find sed during application install

Posted by jsmorris on Super User See other posts from Super User or by jsmorris
Published on 2010-04-28T01:23:58Z Indexed on 2010/04/28 1:33 UTC
Read the original article Hit count: 401

Filed under:
|
|
|

I am attempting to install an application, but the installer fails with the following error message:

sh: sed: command not found

and there is an Edit and OK button in the dialog, so I click the Edit button which launches the AppleScript Editor to show me the script that is executing. Running it from within the Editor doesn't work either.

The first line of the script with sed is

set currdir_modified to do shell script ("echo " & currdir & " | sed 's/ /\\ /g'")

I went to the terminal to make sure sed was available, and it is, in /usr/bin.

This sounds like a path problem, but I am not sure where to go from here. What can I do to further troubleshoot or solution this issue?

I have successfully installed this app on another mac running the same OS X version, so it is specific to my mac and the application's support is not providing any more help because it is my mac's problem, not theirs.

© Super User or respective owner

Related posts about applescript

Related posts about sed