From 71af28517442b4388c031d1ce74fa5096beca9bf Mon Sep 17 00:00:00 2001 From: Loren Merritt Date: Mon, 20 Aug 2007 16:44:42 +0000 Subject: [PATCH] regression in r669: broke saving of configure args if make has to re-run configure git-svn-id: svn://svn.videolan.org/x264/trunk@671 df754926-b1dd-0310-bc7b-ec298dee348c --- configure | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/configure b/configure index e125674a..ea9b3bae 100755 --- a/configure +++ b/configure @@ -174,16 +174,10 @@ fi host=`./config.sub $host` # split $host -save_ifs=$IFS -IFS='-' -# set positional parameters -set x $host -shift -host_cpu=$1 -host_vendor=$2 -shift; shift -host_os=$* -IFS=$save_ifs +host_cpu="${host/-*}" +host="${host#*-}" +host_vendor="${host/-*}" +host_os="${host#*-}" case $host_os in beos*) -- 2.40.0