Fix RPM Suffix
This commit is contained in:
parent
55882360ef
commit
edba837295
|
@ -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
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue