From: Bernie Purcell Date: Mon, 24 Sep 2007 05:30:51 +0000 (+0000) Subject: Couldn't bootstrap properly if a number existed anywhere in the path X-Git-Tag: 0.9.0-test0~5381 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=68456f6755c903d008e5efc0695e1f4957f9d3b8;p=vlc Couldn't bootstrap properly if a number existed anywhere in the path to gettextize (eg. if I was building inside a directory called win32) --- diff --git a/bootstrap b/bootstrap index af4224432b..6e38094623 100755 --- a/bootstrap +++ b/bootstrap @@ -116,7 +116,7 @@ fi # Check for gettext if gettextize --version >/dev/null 2>&1; then # Autopoint is available from 0.11.3, but we need 0.11.5 -if expr `gettextize --version | sed -e '1s/[^0-9]*//' -e q` \ +if expr `gettextize --version |cut -d' ' -f2- | sed -e '1s/[^0-9]*//' -e q` \ '>=' 0.11.5 >/dev/null 2>&1; then # We have gettext, and a recent version! Everything is cool. autopoint=autopoint