]> granicus.if.org Git - graphviz/commit
ci/build.sh: autotools: 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)
commitc343054b63a67b957f7ac68f6aaaa45815bc7337
tree3ccbc3a0c1cc9c15709080b63e8df07122a2bb86
parent5e1dac157ebaef591528bd3a40c24cb3d6bd49db
ci/build.sh: autotools: 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