mirror of https://github.com/aminya/setup-cpp
fix: use \n in the python command
This commit is contained in:
parent
a9e63280c3
commit
8a1490eabe
|
@ -34,7 +34,7 @@ export async function setupPipPack(name: string, version?: string) {
|
|||
} else if (process.platform === "darwin") {
|
||||
binDir = "/usr/local/bin/"
|
||||
} else {
|
||||
binDir = (await getExecOutput("python -c 'import sys; print(sys.base_exec_prefix)'")).stdout
|
||||
binDir = (await getExecOutput("python -c 'import sys\nprint(sys.base_exec_prefix)'")).stdout
|
||||
}
|
||||
info(`${binDir} to PATH`)
|
||||
addPath(binDir)
|
||||
|
|
Loading…
Reference in New Issue