From 62a344bbed1ca00bc57ffe6e6878100c99ca60ff Mon Sep 17 00:00:00 2001 From: Max Horn Date: Tue, 18 Dec 2007 22:30:25 +0000 Subject: [PATCH] Fix for bug #1853110: Error in configure on MacOS X (head -c is not portable, sed hopefully is) svn-id: r29902 --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index ef1b73b2841..44733ee65ed 100755 --- a/configure +++ b/configure @@ -367,7 +367,7 @@ engine_disable() { # Show the configure help line for an option option_help() { - option=`echo "--$(echo $1 | sed 's/_/-/g') " | head -c 23` + option=`echo "--$(echo $1 | sed 's/_/-/g') " | sed "s/\(.\{23\}\).*/\1/"` echo " ${option} ${2}" }