Fix RPM Suffix

This commit is contained in:
Jonas Kvinge 2018-09-18 17:28:49 +02:00
parent 55882360ef
commit edba837295
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
find_program(LSB_RELEASE_EXEC lsb-release)
if (LSB_RELEASE_EXEC)
execute_process(COMMAND /bin/sh "-c" "${LSB_RELEASE_EXEC} -is | tr '[:upper:]' '[:lower:]'"
execute_process(COMMAND /bin/sh "-c" "${LSB_RELEASE_EXEC} -is | tr '[:upper:]' '[:lower:]' | cut -d' ' -f1"
OUTPUT_VARIABLE DIST_NAME
OUTPUT_STRIP_TRAILING_WHITESPACE
)