summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdebianpkg/backports/rules6
1 files changed, 2 insertions, 4 deletions
diff --git a/debianpkg/backports/rules b/debianpkg/backports/rules
index 63bbedf777..d0c6dcc066 100755
--- a/debianpkg/backports/rules
+++ b/debianpkg/backports/rules
@@ -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