aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMax Horn2007-12-18 22:30:25 +0000
committerMax Horn2007-12-18 22:30:25 +0000
commit62a344bbed1ca00bc57ffe6e6878100c99ca60ff (patch)
tree7fc7eb9364b545ad024eb4b7d722009be19fccad /configure
parentaa62d6355a3d4729d3f013d5ec11a15b52ac227f (diff)
downloadscummvm-rg350-62a344bbed1ca00bc57ffe6e6878100c99ca60ff.tar.gz
scummvm-rg350-62a344bbed1ca00bc57ffe6e6878100c99ca60ff.tar.bz2
scummvm-rg350-62a344bbed1ca00bc57ffe6e6878100c99ca60ff.zip
Fix for bug #1853110: Error in configure on MacOS X (head -c is not portable, sed hopefully is)
svn-id: r29902
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index ef1b73b284..44733ee65e 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}"
}