In an automator shell script, discovering the path to the application
In an automator shell script, discovering the path to the application
- Subject: In an automator shell script, discovering the path to the application
- From: James C <email@hidden>
- Date: Mon, 05 Dec 2011 22:54:15 +1300
Hi All,
I'm trying to wrap an automator app around an existing complicated
thing, which has a shell script to start it, then a bunch of other
files; eg an executable and some shared libraries.
The complicated thing currently builds with cmake; converting it to
build with xcode is almost certainly beyond me.
My app has a shell-script step, which seems to behave sensibly.
What I don't have is a way of discovering where in the file-system the
app is, so I can use that to build paths to the executable and
libraries.
Does any of you know how to do this?
Regards,
James the newbie
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Automator-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden