[coreboot] Patch merged into master: bb6d2d5 buildgcc: Remove all bashisms, making the script run also on BSD

gerrit at coreboot.org gerrit at coreboot.org
Sun Aug 21 08:47:01 CEST 2011


the following patch was just integrated into master:
commit bb6d2d5693dfae9ff78eea624b38b40964905210
Author: Peter Stuge <peter at stuge.se>
Date:   Sun Aug 21 06:24:55 2011 +0200

    buildgcc: Remove all bashisms, making the script run also on BSD
    
    Use sed instead of ${variable:start:length} and ${#variable}
    Use single = in string comparisons
    Use `eval echo '$'$variable` instead of ${!variable}
    Use > file 2>&1 instead of &> file
    Use readlink -f to expand the path of GCC configure
    
    Change-Id: Idc7dfcea3922f55630a6855acdb19e36582708bd
    Signed-off-by: Peter Stuge <peter at stuge.se>

See http://review.coreboot.org/165 for details.

-gerrit




More information about the coreboot mailing list