aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJordi Vilalta Prat2008-02-26 15:17:13 +0000
committerJordi Vilalta Prat2008-02-26 15:17:13 +0000
commitd4b9d7fe444eab838105760f4924ba49f7cb68c6 (patch)
tree120c5b7b92ad74ec1eea9424248b38b3f02caa55
parent2579136dd218178ff959159dbe6f3c458fc86a28 (diff)
downloadscummvm-rg350-d4b9d7fe444eab838105760f4924ba49f7cb68c6.tar.gz
scummvm-rg350-d4b9d7fe444eab838105760f4924ba49f7cb68c6.tar.bz2
scummvm-rg350-d4b9d7fe444eab838105760f4924ba49f7cb68c6.zip
Patch #1901742: Solaris /bin/sh doesn't like $()
svn-id: r30969
-rwxr-xr-xconfigure3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure b/configure
index 5b401dcb22..95975a5f44 100755
--- a/configure
+++ b/configure
@@ -378,7 +378,8 @@ engine_disable() {
# Show the configure help line for an option
option_help() {
- option=`echo "--$(echo $1 | sed 's/_/-/g') " | sed "s/\(.\{23\}\).*/\1/"`
+ tmpopt=`echo $1 | sed 's/_/-/g'`
+ option=`echo "--${tmpopt} " | sed "s/\(.\{23\}\).*/\1/"`
echo " ${option} ${2}"
}