Fix lsb-release command
This commit is contained in:
parent
feb0e1c45b
commit
db5679bbe9
@ -1,4 +1,4 @@
|
|||||||
find_program(LSB_RELEASE_EXEC lsb-release)
|
find_program(LSB_RELEASE_EXEC lsb_release)
|
||||||
|
|
||||||
if (LSB_RELEASE_EXEC)
|
if (LSB_RELEASE_EXEC)
|
||||||
execute_process(COMMAND /bin/sh "-c" "${LSB_RELEASE_EXEC} -is | tr '[:upper:]' '[:lower:]' | cut -d' ' -f1"
|
execute_process(COMMAND /bin/sh "-c" "${LSB_RELEASE_EXEC} -is | tr '[:upper:]' '[:lower:]' | cut -d' ' -f1"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user