Skip to content

Conversation

@w0de
Copy link

@w0de w0de commented Dec 18, 2019

In Catalina, the output for software update appears so:

Software Update Tool

Finding available software
Software Update found the following new or updated software:
* Label: Command Line Tools for Xcode-11.2
	Title: Command Line Tools for Xcode, Version: 11.2, Size: 224942K, Recommended: YES,
* Label: Command Line Tools for Xcode-11.3
	Title: Command Line Tools for Xcode, Version: 11.3, Size: 224878K, Recommended: YES,

softwareupdate -i expect "Command Line Tools for Xcode-11.2" not "Label: Command Line Tools for Xcode-11.2". Support for Mojave/High Sierra is preserved, since the added sed pipe won't change output without "Label: ".

@herbota
Copy link

herbota commented Jan 20, 2021

I also encountered this issue when installing Command Line Tools for Xcode in Catalina. This change fixed that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants