[pulseaudio-discuss] [PATCH] build-sys: Check for necessary programs in bootstrap.sh

Colin Guthrie gmane at colin.guthr.ie
Fri Jul 29 01:58:54 PDT 2011

'Twas brillig, and Maarten Bosmans at 28/07/11 13:21 did gyre and gimble:
> Only checking once for DIE=1 does indeed loose the ability to report
> which program specifically is missing, but as I only redirectid stdout
> to /dev/null, the bash command line helpfully outputs to stderror as
> follows (in Dutch):
> + pkg-config --version
> + _glib-gettextize --version
> ./bootstrap.sh: regel 71: _glib-gettextize: opdracht niet gevonden
> + DIE=1
> + intltoolize --version
> + _libtoolize --version
> ./bootstrap.sh: regel 73: _libtoolize: opdracht niet gevonden
> + DIE=1
> + test 1 = 1
> + exit 1
> So I think that is clear enough.

Ahhhhh, I looked at the stdout>/dev/null and forgot that the command
non-existance would be reported via stderr... yes this is totally clear
enough - my fault for not fully grokking what would happen in practice :D




Colin Guthrie

Day Job:
  Tribalogic Limited [http://www.tribalogic.net/]
Open Source:
  Mageia Contributor [http://www.mageia.org/]
  PulseAudio Hacker [http://www.pulseaudio.org/]
  Trac Hacker [http://trac.edgewall.org/]

More information about the pulseaudio-discuss mailing list