From 68456f6755c903d008e5efc0695e1f4957f9d3b8 Mon Sep 17 00:00:00 2001 From: Bernie Purcell Date: Mon, 24 Sep 2007 05:30:51 +0000 Subject: [PATCH] Couldn't bootstrap properly if a number existed anywhere in the path to gettextize (eg. if I was building inside a directory called win32) --- bootstrap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.2