fix: quote the deb ppa

This commit is contained in:
Amin Yahyaabadi 2021-12-07 03:04:42 -06:00
parent a24d9e9e9a
commit acba1ad74a
1 changed files with 6 additions and 6 deletions

View File

@ -37,8 +37,8 @@ export async function setupGcc(version: string, _setupDir: string, arch: string)
binDir = (
await setupAptPack("g++", version, [
"ppa:ubuntu-toolchain-r/test",
"deb http://dk.archive.ubuntu.com/ubuntu/ xenial mai",
"deb http://dk.archive.ubuntu.com/ubuntu/ xenial universe",
"'deb http://dk.archive.ubuntu.com/ubuntu/ xenial mai'",
"'deb http://dk.archive.ubuntu.com/ubuntu/ xenial universe'",
])
).binDir
} else {
@ -46,8 +46,8 @@ export async function setupGcc(version: string, _setupDir: string, arch: string)
binDir = (
await setupAptPack("g++-multilib", version, [
"ppa:ubuntu-toolchain-r/test",
"deb http://dk.archive.ubuntu.com/ubuntu/ xenial mai",
"deb http://dk.archive.ubuntu.com/ubuntu/ xenial universe",
"'deb http://dk.archive.ubuntu.com/ubuntu/ xenial mai'",
"'deb http://dk.archive.ubuntu.com/ubuntu/ xenial universe'",
])
).binDir
}
@ -59,8 +59,8 @@ export async function setupGcc(version: string, _setupDir: string, arch: string)
// if (arch === "arm" || arch === "arm64") {
// return setupAptPack("gcc-arm-none-eabi", version, [
// "ppa:ubuntu-toolchain-r/test",
// "deb http://dk.archive.ubuntu.com/ubuntu/ xenial mai",
// "deb http://dk.archive.ubuntu.com/ubuntu/ xenial universe",
// "'deb http://dk.archive.ubuntu.com/ubuntu/ xenial mai'",
// "'deb http://dk.archive.ubuntu.com/ubuntu/ xenial universe'",
// ])
// } else {
// throw new Error(`Unsupported platform for ${arch}`)