diff --git a/indra/newview/CMakeLists.txt b/indra/newview/CMakeLists.txt
index 5d669e6c21a9e44499ccb2d54c5c79d2409472ac..99d87f4c4258c52f4fc4459666782effa1d59513 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 ./newview/packaged/etc/refresh_desktop_app_entry.sh @ONLY)
 endif(LINUX)
 
 LIST(APPEND viewer_HEADER_FILES ${CMAKE_CURRENT_BINARY_DIR}/llviewerbuildconfig.h)