[Buildroot] [git commit master] libxcb: fix path to Python modules

Peter Korsgaard jacmet at uclibc.org
Mon May 10 20:20:19 UTC 2010

>>>>> "Paulius" == Paulius Zaleckas <paulius.zaleckas at gmail.com> writes:

 >> Therefore, add a little bit of magic to compute the host Python
 >> version.

 Paulius> Unfortunately this fails on my system:
 Paulius> $ python --version
 Paulius> Python 2.6
 Paulius> $ python --version | sed 's/Python \(2\.[0-9]\)\..*/\1/'
 Paulius> Python 2.6

Ahh, then we better do 's/Python \(2\.[^\.]\).*/\1/' instead, or even

's/Python \([0-9]\.[^\.]\).*/\1/'

Will fix.

Bye, Peter Korsgaard

More information about the buildroot mailing list