env.cpp: swap entries of fallback PATH

I had this backwards. Thanks @mqudsi
This commit is contained in:
Aaron Gyes 2019-01-28 19:27:16 -08:00
parent 4064ab8183
commit 46c967903d

View file

@ -657,7 +657,7 @@ static void setup_path() {
cspath.resize(confstr(_CS_PATH, nullptr, 0));
confstr(_CS_PATH, &cspath[0], cspath.length());
#else
std::string cspath = "/bin:/usr/bin"; // I doubt this is even necessary
std::string cspath = "/usr/bin:/bin"; // I doubt this is even necessary
#endif
vars.set_one(L"PATH", ENV_GLOBAL | ENV_EXPORT, str2wcstring(cspath));
}