Use xargs fix for all vanilla images, not just Sequoia (#207)
This commit is contained in:
parent
64b1190f65
commit
5a55351c81
|
|
@ -128,7 +128,7 @@ build {
|
||||||
inline = [
|
inline = [
|
||||||
# Install command-line tools
|
# Install command-line tools
|
||||||
"touch /tmp/.com.apple.dt.CommandLineTools.installondemand.in-progress",
|
"touch /tmp/.com.apple.dt.CommandLineTools.installondemand.in-progress",
|
||||||
"softwareupdate --list | sed -n 's/.*Label: \\(Command Line Tools for Xcode-.*\\)/\\1/p' | tr '\\n' '\\0' | xargs -0 softwareupdate --install",
|
"softwareupdate --list | sed -n 's/.*Label: \\(Command Line Tools for Xcode-.*\\)/\\1/p' | xargs -I {} softwareupdate --install '{}'",
|
||||||
"rm /tmp/.com.apple.dt.CommandLineTools.installondemand.in-progress",
|
"rm /tmp/.com.apple.dt.CommandLineTools.installondemand.in-progress",
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -127,7 +127,7 @@ build {
|
||||||
inline = [
|
inline = [
|
||||||
# Install command-line tools
|
# Install command-line tools
|
||||||
"touch /tmp/.com.apple.dt.CommandLineTools.installondemand.in-progress",
|
"touch /tmp/.com.apple.dt.CommandLineTools.installondemand.in-progress",
|
||||||
"softwareupdate --list | sed -n 's/.*Label: \\(Command Line Tools for Xcode-.*\\)/\\1/p' | tr '\\n' '\\0' | xargs -0 softwareupdate --install",
|
"softwareupdate --list | sed -n 's/.*Label: \\(Command Line Tools for Xcode-.*\\)/\\1/p' | xargs -I {} softwareupdate --install '{}'",
|
||||||
"rm /tmp/.com.apple.dt.CommandLineTools.installondemand.in-progress",
|
"rm /tmp/.com.apple.dt.CommandLineTools.installondemand.in-progress",
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -136,7 +136,7 @@ build {
|
||||||
inline = [
|
inline = [
|
||||||
# Install command-line tools
|
# Install command-line tools
|
||||||
"touch /tmp/.com.apple.dt.CommandLineTools.installondemand.in-progress",
|
"touch /tmp/.com.apple.dt.CommandLineTools.installondemand.in-progress",
|
||||||
"softwareupdate --list | sed -n 's/.*Label: \\(Command Line Tools for Xcode-.*\\)/\\1/p' | tr '\\n' '\\0' | xargs -0 softwareupdate --install",
|
"softwareupdate --list | sed -n 's/.*Label: \\(Command Line Tools for Xcode-.*\\)/\\1/p' | xargs -I {} softwareupdate --install '{}'",
|
||||||
"rm /tmp/.com.apple.dt.CommandLineTools.installondemand.in-progress",
|
"rm /tmp/.com.apple.dt.CommandLineTools.installondemand.in-progress",
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue