forked from freifunk-franken/firmware
buildscript: Indicate current patch being applied
So far, we only saw the files affected, but not the patch used. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by: Christian Dresel <fff@chrisi01.de>
This commit is contained in:
parent
d0d8fc57af
commit
803126e1de
|
@ -125,6 +125,7 @@ get_source() {
|
||||||
patch_target() {
|
patch_target() {
|
||||||
if [ "$(find "$PWD"/build_patches/openwrt/*.patch 2> /dev/null | wc -l)" -ge 1 ]; then
|
if [ "$(find "$PWD"/build_patches/openwrt/*.patch 2> /dev/null | wc -l)" -ge 1 ]; then
|
||||||
for patch in "$PWD"/build_patches/openwrt/*.patch; do
|
for patch in "$PWD"/build_patches/openwrt/*.patch; do
|
||||||
|
echo "Applying $patch:"
|
||||||
patch --no-backup-if-mismatch -p1 -d "$target" -i "$patch"
|
patch --no-backup-if-mismatch -p1 -d "$target" -i "$patch"
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue