mirror of https://github.com/aminya/setup-cpp
fix: quote the deb ppa
This commit is contained in:
parent
a24d9e9e9a
commit
acba1ad74a
|
@ -37,8 +37,8 @@ export async function setupGcc(version: string, _setupDir: string, arch: string)
|
||||||
binDir = (
|
binDir = (
|
||||||
await setupAptPack("g++", version, [
|
await setupAptPack("g++", version, [
|
||||||
"ppa:ubuntu-toolchain-r/test",
|
"ppa:ubuntu-toolchain-r/test",
|
||||||
"deb http://dk.archive.ubuntu.com/ubuntu/ xenial mai",
|
"'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 universe'",
|
||||||
])
|
])
|
||||||
).binDir
|
).binDir
|
||||||
} else {
|
} else {
|
||||||
|
@ -46,8 +46,8 @@ export async function setupGcc(version: string, _setupDir: string, arch: string)
|
||||||
binDir = (
|
binDir = (
|
||||||
await setupAptPack("g++-multilib", version, [
|
await setupAptPack("g++-multilib", version, [
|
||||||
"ppa:ubuntu-toolchain-r/test",
|
"ppa:ubuntu-toolchain-r/test",
|
||||||
"deb http://dk.archive.ubuntu.com/ubuntu/ xenial mai",
|
"'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 universe'",
|
||||||
])
|
])
|
||||||
).binDir
|
).binDir
|
||||||
}
|
}
|
||||||
|
@ -59,8 +59,8 @@ export async function setupGcc(version: string, _setupDir: string, arch: string)
|
||||||
// if (arch === "arm" || arch === "arm64") {
|
// if (arch === "arm" || arch === "arm64") {
|
||||||
// return setupAptPack("gcc-arm-none-eabi", version, [
|
// return setupAptPack("gcc-arm-none-eabi", version, [
|
||||||
// "ppa:ubuntu-toolchain-r/test",
|
// "ppa:ubuntu-toolchain-r/test",
|
||||||
// "deb http://dk.archive.ubuntu.com/ubuntu/ xenial mai",
|
// "'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 universe'",
|
||||||
// ])
|
// ])
|
||||||
// } else {
|
// } else {
|
||||||
// throw new Error(`Unsupported platform for ${arch}`)
|
// throw new Error(`Unsupported platform for ${arch}`)
|
||||||
|
|
Loading…
Reference in New Issue