diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2019-11-23 11:25:38 +1100 |
---|---|---|
committer | Edward Thomson <ethomson@edwardthomson.com> | 2019-11-23 11:25:44 +1100 |
commit | 767990e9d9bbb382c276236f4a254cad345dd2b1 (patch) | |
tree | bfcedc157afc439121f04850d037f610cc0e2823 | |
parent | 91ba65af8f6c75e9ea12627ed4545cbf118c8dd9 (diff) | |
download | libgit2-767990e9d9bbb382c276236f4a254cad345dd2b1.tar.gz |
ci: show distribution information
The lsb-release command is missing on our images; just show the
information from the file instead of relying on it.
-rwxr-xr-x | azure-pipelines/build.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/azure-pipelines/build.sh b/azure-pipelines/build.sh index dc6f0991a..27e2f3e38 100755 --- a/azure-pipelines/build.sh +++ b/azure-pipelines/build.sh @@ -26,7 +26,7 @@ fi if [ -f "/etc/debian_version" ]; then echo "Debian version:" - lsb_release -a | indent + (source /etc/lsb-release && echo "${DISTRIB_DESCRIPTION}") | indent fi echo "Kernel version:" |