From: Loren Merritt Date: Mon, 20 Aug 2007 16:44:42 +0000 (+0000) Subject: regression in r669: broke saving of configure args if make has to re-run configure X-Git-Url: http://www.zmx.ovh/git.videolan.org/?a=commitdiff_plain;h=71af28517442b4388c031d1ce74fa5096beca9bf;p=x264.git 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 --- 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*)