Skip to content

Commit

Permalink
Make Scientific Linux and CentOS look like RHEL. re #7021
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartcampbell committed May 7, 2013
1 parent ef55d93 commit 9d1dade
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Code/Mantid/Build/CMake/DetermineLinuxDistro.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ if ( LSB_CMD )
string ( STRIP ${UNIX_DIST} UNIX_DIST )
string ( REGEX REPLACE "RedHatEnterpriseClient" "RedHatEnterprise" UNIX_DIST ${UNIX_DIST} )
string ( REGEX REPLACE "RedHatEnterpriseWorkstation" "RedHatEnterprise" UNIX_DIST ${UNIX_DIST} )
string ( REGEX REPLACE "Scientific" "RedHatEnterprise" UNIX_DIST ${UNIX_DIST} )
string ( REGEX REPLACE "CentOS" "RedHatEnterprise" UNIX_DIST ${UNIX_DIST} )
# get the codename
execute_process ( COMMAND ${LSB_CMD} -c
OUTPUT_VARIABLE UNIX_CODENAME
Expand Down

0 comments on commit 9d1dade

Please sign in to comment.