Re: Xcode.app

Hanspeter Niederstrasser <[email protected]>
Newsgroups gmane.os.apple.fink.general
Organization Snaggled Works
Message-ID <[email protected]>
On 1/28/23 6:06 PM, Scott Hannahs via Fink-users wrote:
> Thanks, I think I had tracked it down previously.  For some reason installing the command line tools reset my Xcode-select to "/Library/Developer/CommandLineTools” which then fails the test below.
> 
> XcodeVPath=`xcode-select -print-path`/../version
> if [[ -r “$XcodeVPath" ]] then
> 	defaults read “$XcodeVPath" CFBundleShortVersionString
> else
> 	echo warning
> fi
> 
> That would help folks figure out the issue.  Also check on the return value of "defaults read” and if the property is not found for some reason, return a warning?

I think `fink-virtual-pkgs --debug` can return a verbose debug, but 
`fink list <FOO>` wont'.

Hanspeter

-- 
"The great tragedy of science is the slaying of a beautiful hypothesis
by an ugly fact."
   --Thomas Henry Huxley



_______________________________________________
Fink-users mailing list
[email protected]
List archive:
https://sourceforge.net/p/fink/mailman/fink-users/
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.