Zheng Bao ([email protected]) just uploaded a new patch set to gerrit, which 
you can find at http://review.coreboot.org/1425

-gerrit

commit f11e358b0eb523ac1a3ce1ab7fc1e26dccd5a3f9
Author: zbao <[email protected]>
Date:   Wed Aug 8 19:24:28 2012 +0800

    buildgcc: list the patch in folder patches
    
    "for file in dir/*" can not get the real file.
    Instead,
    for file in `ls dir/*`
    
    Change-Id: I4a4d7c25ce9df013a1612e4a1c21a1dd6337ae91
    Signed-off-by: Zheng Bao <[email protected]>
    Signed-off-by: zbao <[email protected]>
---
 util/crossgcc/buildgcc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc
index 415b408..e0a6365 100755
--- a/util/crossgcc/buildgcc
+++ b/util/crossgcc/buildgcc
@@ -289,7 +289,7 @@ for PACKAGE in GMP MPFR MPC LIBELF GCC BINUTILS 
$PYTHON_PACKAGE \
                test "$suffix" = "bz2" && FLAGS=jxf
                test "$suffix" = "lzma" && FLAGS="--lzma -xf"
                $TAR $FLAGS tarballs/`basename $archive`
-               for patch in patches/${dir}_*.patch; do
+               for patch in `ls patches/${dir}_*.patch 2>/dev/null`; do
                        test -r $patch || continue
                        printf "   o `basename $patch`\n"
                        $PATCH -s -N -p0 < `echo $patch` || \

-- 
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to