]> granicus.if.org Git - graphviz/commit
ci/build.sh: CMake: use OSTYPE to determine if on GNU/Linux
authorMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Sat, 4 Sep 2021 13:37:13 +0000 (15:37 +0200)
committerMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Tue, 7 Sep 2021 05:55:36 +0000 (07:55 +0200)
commitaf869dc693057dcaf707924b56fcdb9f7cde3605
treef75041e5e76c1d66a06da240d57650e1de6f3964
parentffe6a78b1c68288d34899e94aba5dff41d2bb770
ci/build.sh: CMake: use OSTYPE to determine if on GNU/Linux

OSTYPE is a built-in variable in bash and exists on all operating
systems.

As a second discriminator, use ID_LIKE to determine if on a Debian
like OS, e.g. Ubuntu.
ci/build.sh