Elliott Mitchell
2020-Dec-02 19:49 UTC
[Pkg-xen-devel] [PATCH 02/19] d/shuffle-binaries: Remove useless extra argument being passed in
This doesn't do anything. Really it is almost a bug the script /doesn't/ complain. Signed-off-by: Elliott Mitchell <ehem+debian at m5p.com> --- debian/rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/rules b/debian/rules index 741676e617..c7dc55ad03 100755 --- a/debian/rules +++ b/debian/rules @@ -271,7 +271,7 @@ xenstore_rm = $(addprefix debian/xen-utils-common/, \ )) override_dh_install: - debian/shuffle-binaries $(upstream_version) $(flavour) + debian/shuffle-binaries $(upstream_version) : debian/shuffle-boot-files $(upstream_version) $(flavour) : -- -- (\___(\___(\______ --=> 8-) EHM <=-- ______/)___/)___/) \BS ( | ehem+sigmsg at m5p.com PGP 87145445 | ) / \_CS\ | _____ -O #include <stddisclaimer.h> O- _____ | / _/ 8A19\___\_|_/58D2 7E3D DDF4 7BA6 <-PGP-> 41D1 B375 37D0 8714\_|_/___/5445
Hans van Kranenburg
2020-Dec-04 20:14 UTC
[Pkg-xen-devel] [PATCH 02/19] d/shuffle-binaries: Remove useless extra argument being passed in
On 9/19/20 8:24 AM, Elliott Mitchell wrote:> This doesn't do anything. Really it is almost a bug the script /doesn't/ > complain.Hah, yes, good catch. The second argument is never used inside shuffle-binaries. In shuffle-binaries, I see "version=$1; shift". Ian, is the shift and the not-used but passed $(flavour) a left-over from some intermediate steps while doing the WHRAAA reworking of the packaging? I guess we could add dropping that "; shift" in this same change, because it only confuses the reader into thinking that there will be some code later on using $1 again?> Signed-off-by: Elliott Mitchell <ehem+debian at m5p.com> > --- > debian/rules | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/debian/rules b/debian/rules > index 741676e617..c7dc55ad03 100755 > --- a/debian/rules > +++ b/debian/rules > @@ -271,7 +271,7 @@ xenstore_rm = $(addprefix debian/xen-utils-common/, \ > )) > > override_dh_install: > - debian/shuffle-binaries $(upstream_version) $(flavour) > + debian/shuffle-binaries $(upstream_version) > : > debian/shuffle-boot-files $(upstream_version) $(flavour) > : >Thanks, Hans