Fix lsb-release command

This commit is contained in:
Jonas Kvinge 2018-09-18 19:01:59 +02:00
parent feb0e1c45b
commit db5679bbe9
1 changed files with 1 additions and 1 deletions

View File

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