From e1c47573782fc3e5a708550c75975b9cf9299515 Mon Sep 17 00:00:00 2001 From: isanae <14251494+isanae@users.noreply.github.com> Date: Tue, 26 May 2020 13:44:20 -0400 Subject: [PATCH] join() was broken forgot -m for pip --- src/tasks/python.cpp | 2 +- src/utility.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tasks/python.cpp b/src/tasks/python.cpp index afa956b..8e4a2ec 100644 --- a/src/tasks/python.cpp +++ b/src/tasks/python.cpp @@ -248,7 +248,7 @@ void python::install_pip() // ssl errors while downloading through python without certifi run_tool(process_runner(process() .binary(python_exe()) - .arg("pip") + .arg("-m pip") .arg("install") .arg("certifi"))); } diff --git a/src/utility.h b/src/utility.h index 144fc07..7a391a1 100644 --- a/src/utility.h +++ b/src/utility.h @@ -323,7 +323,7 @@ T join(const std::vector& v, const Sep& sep) for (auto&& e : v) { - if (first) + if (!first) s += sep; s += e;