Skip to content

Commit

Permalink
Fix source package file name for .tar.gz packages.
Browse files Browse the repository at this point in the history
  • Loading branch information
jakepetroules committed Nov 27, 2012
1 parent 233198e commit 9687b8e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmake/PackageOverrides.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ if(CPACK_GENERATOR STREQUAL "DragNDrop" OR CPACK_GENERATOR STREQUAL "DEB" OR CPA
set(CPACK_DEB_COMPONENT_INSTALL ON)
set(CPACK_RPM_COMPONENT_INSTALL ON)
endif()
elseif(CPACK_GENERATOR STREQUAL "TGZ")
elseif(CPACK_GENERATOR STREQUAL "TGZ" AND NOT CPACK_PACKAGE_FILE_NAME MATCHES "-src")
set(CPACK_PACKAGE_FILE_NAME "axr-browser-${BROWSER_VERSION_STRING}-OPERATING_SYSTEM-${CMAKE_TARGET_ARCHITECTURE_CODE}")
else()
# Other generators such as NSIS or WIX must bundle everything,
Expand Down
2 changes: 1 addition & 1 deletion src/core

0 comments on commit 9687b8e

Please sign in to comment.