fix incorrect path for otool

This commit is contained in:
SCG82 2020-01-08 01:49:21 -08:00
parent bbcbaa4da4
commit 58311fb3ac
1 changed files with 1 additions and 1 deletions

View File

@ -134,7 +134,7 @@ std::string systemOutput(const std::string& cmd)
void otool(const std::string& flags, const std::string& file, std::vector<std::string>& lines) void otool(const std::string& flags, const std::string& file, std::vector<std::string>& lines)
{ {
std::string command = std::string("/bin/otool ").append(flags).append(" ").append(file); std::string command = std::string("/usr/bin/otool ").append(flags).append(" ").append(file);
std::string output = systemOutput(command); std::string output = systemOutput(command);
if (output.find("can't open file") != std::string::npos if (output.find("can't open file") != std::string::npos