galileo: build_newlib.sh: Only apply patch files with the extension ".patch"
This avoids treating as patches other files that may happen to be present in the newlib patch directory in a working tree.
This commit is contained in:
parent
99de563e8d
commit
16145f645a
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ prepare() {
|
|||
tar xf ${TARBALL}
|
||||
cd ${SRC_DIR}
|
||||
|
||||
for i in `ls ${PATCH_DIR}`; do patch -p0 < ${PATCH_DIR}/${i}; done
|
||||
for i in `ls ${PATCH_DIR}/*.patch`; do patch -p0 < ${i}; done
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue