[PATCH] buildscript: Indicate current patch being applied

Christian Dresel fff at chrisi01.de
So Feb 10 15:40:42 CET 2019


hi

Reviewed-by: Christian Dresel <fff at chrisi01.de>

Gruß

Christian

On 05.02.19 14:49, Adrian Schmutzler wrote:
> So far, we only saw the files affected, but not the patch used.
>
> Signed-off-by: Adrian Schmutzler <freifunk at adrianschmutzler.de>
> ---
>  buildscript | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/buildscript b/buildscript
> index 3ba36a6a..1d527c6e 100755
> --- a/buildscript
> +++ b/buildscript
> @@ -125,6 +125,7 @@ get_source() {
>  patch_target() {
>      if [ "$(find "$PWD"/build_patches/openwrt/*.patch 2> /dev/null | wc -l)" -ge 1 ]; then
>          for patch in "$PWD"/build_patches/openwrt/*.patch; do
> +            echo "Applying $patch:"
>              patch --no-backup-if-mismatch -p1 -d "$target" -i "$patch"
>          done
>      fi


Mehr Informationen über die Mailingliste franken-dev