From: Mark Hymers Date: Sun, 4 Oct 2009 14:12:35 +0000 (+0100) Subject: clean up holding path X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e5bc2ba431479ae554743e6d877ecac021a059c6;p=dak clean up holding path Signed-off-by: Mark Hymers --- diff --git a/dak/process_unchecked.py b/dak/process_unchecked.py index 0eec1ee8..cae48a7e 100755 --- a/dak/process_unchecked.py +++ b/dak/process_unchecked.py @@ -452,6 +452,7 @@ def process_it(changes_file): u.pkg.changes_file = changes_file u.pkg.directory = os.getcwd() u.logger = Logger + origchanges = os.path.join(u.pkg.directory, u.pkg.changes_file) # Some defaults in case we can't fully process the .changes file u.pkg.changes["maintainer2047"] = cnf["Dinstall::MyEmailAddress"] @@ -481,7 +482,7 @@ def process_it(changes_file): # Absolutize the filename to avoid the requirement of being in the # same directory as the .changes file. - holding.copy_to_holding(os.path.abspath(changes_file)) + holding.copy_to_holding(origchanges) # Relativize the filename so we use the copy in holding # rather than the original...