[coreboot] New patch to review for coreboot: c4beac3 buildgcc: list the patch in folder patches
Zheng Bao (zheng.bao@amd.com)
gerrit at coreboot.org
Wed Aug 8 10:58:35 CEST 2012
Zheng Bao (zheng.bao at amd.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/1425
-gerrit
commit c4beac3173945978082f559f893a2c65902088c8
Author: zbao <fishbaozi at gmail.com>
Date: Wed Aug 8 18:45:42 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 <zheng.bao at amd.com>
Signed-off-by: zbao <fishbaozi at gmail.com>
---
util/crossgcc/buildgcc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc
index 415b408..d18f2b5 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`; do
test -r $patch || continue
printf " o `basename $patch`\n"
$PATCH -s -N -p0 < `echo $patch` || \
More information about the coreboot
mailing list