mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
15 lines
316 B
Bash
15 lines
316 B
Bash
|
#!/usr/bin/env sh
|
||
|
|
||
|
set -o nounset # Treat unset variables as an error
|
||
|
|
||
|
if [[ $QUIET == "1" ]]; then
|
||
|
for i in `ls ../patches`; do
|
||
|
patch -p1 -N -i ../patches/$i > /dev/null
|
||
|
done
|
||
|
else
|
||
|
for i in `ls ../patches`; do
|
||
|
patch -p1 -N -i ../patches/$i
|
||
|
done
|
||
|
fi
|
||
|
exit 0
|