diff --git a/indra/newview/CMakeLists.txt b/indra/newview/CMakeLists.txt
index 7dc35f229bcfd0559f49004f517ddb97990b9d61..5d669e6c21a9e44499ccb2d54c5c79d2409472ac 100644
--- a/indra/newview/CMakeLists.txt
+++ b/indra/newview/CMakeLists.txt
@@ -1561,7 +1561,7 @@ file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/viewer_version.txt"
 configure_file(llviewerbuildconfig.h.in llviewerbuildconfig.h @ONLY)
 
 if (LINUX)
-  configure_file(/linux-tools/refresh_desktop_app_entry.sh /linux-tools/refresh_desktop_app_entry.sh @ONLY)
+  configure_file(./linux_tools/refresh_desktop_app_entry.sh ./linux_tools/refresh_desktop_app_entry.sh @ONLY)
 endif(LINUX)
 
 LIST(APPEND viewer_HEADER_FILES ${CMAKE_CURRENT_BINARY_DIR}/llviewerbuildconfig.h)