]> git.proxmox.com Git - mirror_frr.git/commitdiff
debianpkg: Fix 'make backports' warning about autopkgtest
authorSilas McCroskey <smccroskey@cumulusnetworks.com>
Fri, 7 Jul 2017 22:16:20 +0000 (15:16 -0700)
committerMartin Winter <mwinter@opensourcerouting.org>
Tue, 10 Oct 2017 14:52:48 +0000 (07:52 -0700)
Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
debianpkg/backports/rules

index 63bbedf77745caeeea120d3a82d22f99fee138b4..d0c6dcc066c1c09adc8f0832bd218d78c11c313b 100755 (executable)
@@ -71,14 +71,12 @@ $(1): $(TARBALLDIR)/$(SRCPKG)_$$(DEBIAN_VERSION_$(1)).dsc ;
 # bypassing the usual checks (which wouldn't like our combination-of-
 # directories approach)
 $(TARBALLDIR)/$(SRCPKG)_$$(DEBIAN_VERSION_$(1)).dsc:
-       # -b directory does nothing but determine will the .dsc will end up
-       # for the custom source format. Put it in the current directory by
-       # specifying one of its subdirs.
        dpkg-source -l$$(BACKPORTDIR_$(1))/debian/changelog \
                -c$$(CONTROL_$(1)) \
                --format='3.0 (custom)' \
                --target-format='$$(SOURCEFORMAT_$(1))' \
-               -b debian $$^
+               -b . $$^
+       mv $(TARBALLDIR)/../$$(notdir $$@) $$@
 
 ifeq ($$(SOURCEFORMAT_$(1)),3.0 (quilt))
 # this target depends on the orig.tar.gz file, for which there is no target in