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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



'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

Cheers

Col

-- 

Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/

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/]



[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux