1
0
mirror of https://github.com/strawberrymusicplayer/strawberry synced 2024-12-28 01:01:21 +01:00

Fix RPM Suffix

This commit is contained in:
Jonas Kvinge 2018-09-18 17:28:49 +02:00
parent 55882360ef
commit edba837295

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
)