Applescript cannot find sed during application install
- by jsmorris
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.