From 98494077449c4a66ed55cd5ee5a89b7c62e12dd0 Mon Sep 17 00:00:00 2001 From: Loren Merritt Date: Fri, 7 Sep 2007 20:40:13 +0000 Subject: [PATCH] remove a bashism git-svn-id: svn://svn.videolan.org/x264/trunk@673 df754926-b1dd-0310-bc7b-ec298dee348c --- configure | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.47.3