gcc-fat.sh
changeset 132 1cfe0957a376
parent 131 df3a2df8ccc0
child 134 a3c5787089b0
equal deleted inserted replaced
131:df3a2df8ccc0 132:1cfe0957a376
    69         mkdir -p $dir
    69         mkdir -p $dir
    70     fi
    70     fi
    71 fi
    71 fi
    72 set -- $args
    72 set -- $args
    73 while test x$1 != x; do
    73 while test x$1 != x; do
    74     if test -f "ppc/$1"; then
    74     if test -f "ppc/$1" && test "$1" != "$output"; then
    75         ppc_args="$ppc_args ppc/$1"
    75         ppc_args="$ppc_args ppc/$1"
    76     else
    76     else
    77         ppc_args="$ppc_args $1"
    77         ppc_args="$ppc_args $1"
    78     fi
    78     fi
    79     shift
    79     shift
    91         mkdir -p $dir
    91         mkdir -p $dir
    92     fi
    92     fi
    93 fi
    93 fi
    94 set -- $args
    94 set -- $args
    95 while test x$1 != x; do
    95 while test x$1 != x; do
    96     if test -f "x86/$1"; then
    96     if test -f "x86/$1" && test "$1" != "$output"; then
    97         x86_args="$x86_args x86/$1"
    97         x86_args="$x86_args x86/$1"
    98     else
    98     else
    99         x86_args="$x86_args $1"
    99         x86_args="$x86_args $1"
   100     fi
   100     fi
   101     shift
   101     shift