Re: Converting Xcode paths to usable paths
Re: Converting Xcode paths to usable paths
- Subject: Re: Converting Xcode paths to usable paths
- From: Greg Guerin <email@hidden>
- Date: Thu, 10 Dec 2009 10:29:09 -0700
Jens Miltner wrote:
set aPath = "/depot/cmyk/creatortech/desktop/mac/C2Mac/../../../../
xcodebuilds/Creator.build/Debug/Preprocessed-Info.plist"
set RealPath to do shell script "echo \"$(cd $(dirname \"" & aPath
& "\") && pwd)/$(basename \"" & aPath & "\")\""
This works, without a shell:
set aPath to "/depot/cmyk/creatortech/desktop/mac/C2Mac/../../../../
xcodebuilds/Creator.build/Debug/Preprocessed-Info.plist"
set RealPath to POSIX path of (POSIX file aPath as alias)
-- GG
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden