[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] * bootstrap: Fix unportable expr usage.
From: |
Ralf Wildenhues |
Subject: |
[PATCH] * bootstrap: Fix unportable expr usage. |
Date: |
Sat, 2 Aug 2008 09:41:09 +0200 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
---
Hi Jim,
This fixes a bootstrap failure on FreeBSD due to:
$ expr --gnulib-srcdir=foo : '--gnulib-srcdir=\(.*\)'
expr: illegal option -- -
usage: expr [-e] expression
Cheers,
Ralf
bootstrap | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/bootstrap b/bootstrap
index 6226973..faa9bab 100755
--- a/bootstrap
+++ b/bootstrap
@@ -165,7 +165,7 @@ do
usage
exit;;
--gnulib-srcdir=*)
- GNULIB_SRCDIR=`expr "$option" : '--gnulib-srcdir=\(.*\)'`;;
+ GNULIB_SRCDIR=`expr "X$option" : 'X--gnulib-srcdir=\(.*\)'`;;
--skip-po)
SKIP_PO=t;;
--force)
--
1.5.5.40.g4cdda
- [PATCH] * bootstrap: Fix unportable expr usage.,
Ralf Wildenhues <=