-
-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: allow specifying the vcpkg version + fix: fix check for apt package installs + feat: allow parallel apt-get calls #257
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Found this while debugging an issue.
@@ -70,16 +70,16 @@ function nonInteractiveScript(script: string) { | |||
// make the scirpt non-interactive and fix broken packages | |||
return script.replace( | |||
/add-apt-repository "\${REPO_NAME}"/g, | |||
// eslint-disable-next-line no-template-curly-in-string | |||
"add-apt-repository -y \"${REPO_NAME}\"", | |||
`add-apt-repository -y -n "\${REPO_NAME}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The downloaded llvm.sh script contains add-apt-repository -y "${REPO_NAME}"
so I don't think this replacement will be done.
The script also has an update afterwards which could be patch instead of adding the apt-get update.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like they added the flag recently. The code needs to be updated. Thanks for catching this.
opencollab/llvm-jenkins.debian.net@33f9c64
Fixes #22