[debrepatch] 01/01: Use versions from unstable

Ximin Luo infinity0 at debian.org
Sun Apr 16 12:21:32 UTC 2017


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

infinity0 pushed a commit to branch master
in repository debrepatch.

commit a9acc3da99486714a46eff45780f77149301abf8
Author: Ximin Luo <infinity0 at debian.org>
Date:   Sun Apr 16 14:21:17 2017 +0200

    Use versions from unstable
---
 debrepatch | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/debrepatch b/debrepatch
index cd3e059..d98ba57 100755
--- a/debrepatch
+++ b/debrepatch
@@ -83,9 +83,9 @@ fi
 # TODO: yeah this is hacky but is easier than trying to select the
 # right version out of `apt-cache showsrc`. Ideally we'd expose the
 # logic of "static pkgSrcRecords::Parser *FindSrc" in apt-private/private-source.cc
-oldver="$(LC_ALL="en_US.utf8" apt-get source -s "$srcpkg" | sed -n -e "s/.*version '\(.*\)' .*/\1/p")"
+oldver="$(LC_ALL="en_US.utf8" apt-get -t sid source -s "$srcpkg" | sed -n -e "s/.*version '\(.*\)' .*/\1/p")"
 srcdir="$srcpkg-$(echo "$oldver" | sed -re 's/([^:]*:)?(.*)-.*/\2/')"
-apt-get source "$srcpkg"
+apt-get -t sid source "$srcpkg"
 olddsc="$(ls -1 *.dsc)" # TODO: probably more correct to use $oldver
 rm -rf "$srcdir"
 debpatch --verbose --no-clean --directory . "$olddsc" "$patchfile"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/debrepatch.git



More information about the Reproducible-commits mailing list