hyprpm: fix updating headers

oopsie daisy
This commit is contained in:
Vaxry 2024-04-28 21:32:22 +01:00
parent 95a5e75c26
commit d20ee31210
1 changed files with 1 additions and 1 deletions

View File

@ -501,7 +501,7 @@ bool CPluginManager::updateHeaders(bool force) {
progress.print();
std::string cmd =
std::format("sed -i -e \"s#PREFIX = /usr/local#PREFIX = {}#\" {}/Makefile && cd {} && make installheaders", WORKINGDIR, WORKINGDIR, DataState::getHeadersPath());
std::format("sed -i -e \"s#PREFIX = /usr/local#PREFIX = {}#\" {}/Makefile && cd {} && make installheaders", DataState::getHeadersPath(), WORKINGDIR, WORKINGDIR);
if (m_bVerbose)
progress.printMessageAbove(std::string{Colors::BLUE} + "[v] " + Colors::RESET + "installation will run: " + cmd);