[devscripts] 01/01: debrepro: support skipping the 'time' variation

Mattia Rizzolo mattia at debian.org
Wed Jul 12 12:03:59 UTC 2017


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

mattia pushed a commit to branch master
in repository devscripts.

commit b71acd6982213288625d6b02e12bf13ad3bdf76a
Author: Mattia Rizzolo <mattia at debian.org>
Date:   Wed Jul 12 14:03:03 2017 +0200

    debrepro: support skipping the 'time' variation
    
    Thanks: Simon Quigley for testing
    Signed-off-by: Mattia Rizzolo <mattia at debian.org>
---
 debian/changelog    | 8 +++++++-
 scripts/debrepro.sh | 4 ++--
 2 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 6d42e2d..db97ffd 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,12 @@
 devscripts (2.17.9) UNRELEASED; urgency=medium
 
-  * transition-check: fix URL of source data.  Closes: #868072
+  [ Adam D. Barratt ]
+  * transition-check:
+    + fix URL of source data.  Closes: #868072
+
+  [ Mattia Rizzolo ]
+  * debrepro:
+    + support skipping the 'time' variation.
 
  -- Adam D. Barratt <adam at adam-barratt.org.uk>  Tue, 11 Jul 2017 21:15:37 +0100
 
diff --git a/scripts/debrepro.sh b/scripts/debrepro.sh
index 5db1888..ec16858 100755
--- a/scripts/debrepro.sh
+++ b/scripts/debrepro.sh
@@ -127,7 +127,7 @@ cd source'
         'build_prefix=""' \
         'build_prefix="faketime +213days+7hours+13minutes"; export NO_FAKE_STAT=1'
 
-    echo '$build_prefix dpkg-buildpackage -b -us -uc'
+    echo '${build_prefix:-} dpkg-buildpackage -b -us -uc'
 }
 
 
@@ -181,7 +181,7 @@ while true; do
     case "$1" in
         -s|--skip)
             case "$2" in
-                user|path|umask|locale|timezone|filesystem-ordering)
+                user|path|umask|locale|timezone|filesystem-ordering|time)
                     skip_variations="$skip_variations $2"
                     ;;
                 *)

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



More information about the devscripts-devel mailing list