[Swift-devel] Bootstrap.sh got mangled with the patch
    Yadu Nand B 
    yadunandb at ci.uchicago.edu
       
    Mon Oct  7 11:30:50 CDT 2013
    
    
  
Hi Mihael,
It looks like my patch (probably) mangled the bootstrap.sh script,
and as a result remote tests are failing. 
Here's a snippet of code from Rev:3806 
/cog/provider-coaster/resources/bootstrap.sh 
WGET=`$WR which wget`
if [ "X$WGET" == "X" ]; then
    WGET=`$WR which curl`
    UNAME=`uname`
    if [ "X$WGET" == "X" ]; then
	error "No wget or curl available"
    elif [ "$UNAME" == "Darwin" ]; then
        WGET="$WGET -o $DJ $BS/$B.jar >>$L 2>&1"
    else
        WGET="$WGET -O $DJ $BS/$B.jar >>$L 2>&1"  
    elif [ "$UNAME" == "Darwin" ]; then
        WGET="$WGET -o $DJ $BS/$B.jar >>$L 2>&1"
    else
        WGET="$WGET -O $DJ $BS/$B.jar >>$L 2>&1"
    fi
else
    WGET="$WGET -c -q $BS/$B.jar -O $DJ >>$L 2>&1"
fi
And here's how it is supposed to be:
WGET=`$WR which wget`
if [ "X$WGET" == "X" ]; then
    WGET=`$WR which curl`
    if [ "X$WGET" == "X" ]; then
        error "No wget or curl available"
    elif [ "$UNAME" == "Darwin" ]; then
        WGET="$WGET -o $DJ $BS/$B.jar >>$L 2>&1"
    else
        WGET="$WGET -O $DJ $BS/$B.jar >>$L 2>&1"  
    fi
else
    WGET="$WGET -c -q $BS/$B.jar -O $DJ >>$L 2>&1"
fi
Could you please review this?
Thanks,
Yadu
    
    
More information about the Swift-devel
mailing list