diff --git a/configure b/configure index 64568dd476..388899e5e4 100755 --- a/configure +++ b/configure @@ -1609,8 +1609,8 @@ while [ "$#" -gt 0 ]; do [ "$XPLATFORM" = "undefined" ] && exit 101 ;; device-option) - DEV_VAR=`echo $VAL | sed "s,^\(.*\)=.*,\1,"` - DEV_VAL=`echo $VAL | sed "s,^.*=\(.*\),\1,"` + DEV_VAR=`echo $VAL | cut -d '=' -f 1` + DEV_VAL=`echo $VAL | cut -d '=' -f 2-` DeviceVar set $DEV_VAR "$DEV_VAL" ;; qpa)