Commit f39a2fdf authored by Antonio Rojas's avatar Antonio Rojas Committed by Bhushan Shah
Browse files

Take DESTDIR into account when running setcap

Otherwise this tries to setcap the wrong file


(cherry picked from commit 80c94cb2)
parent b1ab276c
......@@ -157,7 +157,7 @@ if (HAVE_LIBCAP)
COMMAND
${SETCAP_EXECUTABLE}
CAP_WAKE_ALARM=+ep
${KDE_INSTALL_FULL_LIBEXECDIR}/org_kde_powerdevil)"
\$ENV{DESTDIR}${KDE_INSTALL_FULL_LIBEXECDIR}/org_kde_powerdevil)"
)
endif()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment