Message ID | 20190205134952.1891-1-freifunk@adrianschmutzler.de |
---|---|
State | Accepted |
Headers | show |
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
hi Reviewed-by: Christian Dresel <fff@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@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
Applied. > -----Original Message----- > From: Christian Dresel [mailto:fff@chrisi01.de] > Sent: Sonntag, 10. Februar 2019 15:41 > To: Adrian Schmutzler <freifunk@adrianschmutzler.de>; franken- > dev@freifunk.net > Subject: Re: [PATCH] buildscript: Indicate current patch being applied > > hi > > Reviewed-by: Christian Dresel <fff@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@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
So far, we only saw the files affected, but not the patch used. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de> --- buildscript | 1 + 1 file changed, 1 insertion(+)