mirror of
https://github.com/oliverschmidt/contiki.git
synced 2026-03-14 21:16:26 +00:00
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:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user