This is an automated email from the git hooks/post-receive script.

terceiro pushed a commit to branch master
in repository devscripts.

commit 425404b80b172ae14008971605d118d7e08479de
Author: Antonio Terceiro <terce...@debian.org>
Date:   Mon Oct 17 14:34:37 2016 -0200

    debrepro: don't vary the build path
---
 debian/changelog    |  6 ++++++
 scripts/debrepro.sh | 10 +++++-----
 2 files changed, 11 insertions(+), 5 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 0762d3a..e01ea34 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,6 @@
 devscripts (2.16.9) UNRELEASED; urgency=medium
 
+  [ James McCoy ]
   * debsnap:
     + Fix "no binaries for given arch" detection so it doesn't download
       binaries for unspecified archs.  (Closes: #839533)
@@ -9,6 +10,11 @@ devscripts (2.16.9) UNRELEASED; urgency=medium
     + Switch to Net::SMTPS to support STARTTLS.  Based on a patch by Andrew
       Shadura.  (Closes: #518622)
 
+  [ Antonio Terceiro ]
+  * debrepro:
+    + Don't vary the build path, as the reproducibility efforts assume (AIUI)
+      the build path is fixed.
+
  -- James McCoy <james...@debian.org>  Sat, 01 Oct 2016 13:26:57 -0400
 
 devscripts (2.16.8) unstable; urgency=medium
diff --git a/scripts/debrepro.sh b/scripts/debrepro.sh
index e41abfb..400913b 100755
--- a/scripts/debrepro.sh
+++ b/scripts/debrepro.sh
@@ -99,15 +99,15 @@ create_build_script() {
 
 build() {
   export which_build="$1"
-  mkdir "$tmpdir/$which_build"
-  cp -r "$SOURCE" "$tmpdir/$which_build/source"
-  cd "$tmpdir/$which_build/source"
+  mkdir "$tmpdir/build"
+  cp -r "$SOURCE" "$tmpdir/build/source"
 
+  cd "$tmpdir/build/source"
   create_build_script > ../build.sh
-
   sh ../build.sh
-
   cd -
+
+  mv "$tmpdir/build" "$tmpdir/$which_build"
 }
 
 binmatch() {

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/collab-maint/devscripts.git

_______________________________________________
devscripts-devel mailing list
devscripts-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/devscripts-devel

Reply via email to