diff options
author | Thierry Bultel <thierry.bultel@iot.bzh> | 2018-09-18 13:39:04 +0200 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2018-10-15 18:22:48 +0200 |
commit | 100657a2353329f19b8e7c584db3f418472f9959 (patch) | |
tree | 02049e9d6f6791468b993fa097352c799f1400cc /cmake | |
parent | cded682e9f5b3af77a4c4eae2afb72002bd93c01 (diff) |
common.cmake: fixed erroneous search path for os-release
Change-Id: I20eb2c342e33d838b9f8c80b7ec93c32794b4eeb
Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/common.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/common.cmake b/cmake/common.cmake index 8e57b26..f553ae0 100644 --- a/cmake/common.cmake +++ b/cmake/common.cmake @@ -42,7 +42,7 @@ endif() # Used to package .deb set(OS_RELEASE_PATH "${BUILD_ENV_SYSROOT}/etc/os-release") if(EXISTS ${OS_RELEASE_PATH}) - execute_process(COMMAND bash "-c" "grep -E '^ID(_LIKE)?=' /etc/os-release | tail -n 1" + execute_process(COMMAND bash "-c" "grep -E '^ID(_LIKE)?=' ${OS_RELEASE_PATH} | tail -n 1" OUTPUT_VARIABLE TMP_OSRELEASE ) |