Fix for bug #1853110: Error in configure on MacOS X (head -c is not portable, sed hopefully is)
svn-id: r29902
This commit is contained in:
parent
aa62d6355a
commit
62a344bbed
1 changed files with 1 additions and 1 deletions
2
configure
vendored
2
configure
vendored
|
@ -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}"
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue