Skip to content

Commit 1adad9e

Browse files
committed
build: avoid creating qs symlink in privileged directory
1 parent 4c2d7a7 commit 1adad9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,6 @@ install(
172172
install(CODE "
173173
execute_process(
174174
COMMAND ${CMAKE_COMMAND} -E create_symlink \
175-
${CMAKE_INSTALL_FULL_BINDIR}/quickshell ${CMAKE_INSTALL_FULL_BINDIR}/qs
175+
${CMAKE_INSTALL_FULL_BINDIR}/quickshell \$ENV{DESTDIR}${CMAKE_INSTALL_FULL_BINDIR}/qs
176176
)
177177
")

0 commit comments

Comments
 (0)