Merge pull request #1514 from mdlemay/newlib-filter-patches

galileo: build_newlib.sh: Only apply patch files with the extension ".patch"
This commit is contained in:
Nicolas Tsiftes 2016-03-03 13:38:56 +01:00
commit da5044acb2

View File

@ -38,7 +38,7 @@ prepare() {
tar xf ${TARBALL} tar xf ${TARBALL}
cd ${SRC_DIR} 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
} }