From: Loren Merritt Date: Fri, 7 Sep 2007 20:40:13 +0000 (+0000) Subject: remove a bashism X-Git-Url: http://www.zmx.ovh/git.videolan.org/?a=commitdiff_plain;h=98494077449c4a66ed55cd5ee5a89b7c62e12dd0;p=x264.git remove a bashism git-svn-id: svn://svn.videolan.org/x264/trunk@673 df754926-b1dd-0310-bc7b-ec298dee348c --- diff --git a/configure b/configure index ea9b3bae..dc4e411f 100755 --- a/configure +++ b/configure @@ -174,9 +174,9 @@ fi host=`./config.sub $host` # split $host -host_cpu="${host/-*}" +host_cpu="${host%%-*}" host="${host#*-}" -host_vendor="${host/-*}" +host_vendor="${host%%-*}" host_os="${host#*-}" case $host_os in