]> git.decadent.org.uk Git - dak.git/commitdiff
clean up holding path
authorMark Hymers <mark.hymers@ynic.york.ac.uk>
Sun, 4 Oct 2009 14:12:35 +0000 (15:12 +0100)
committerMark Hymers <mark.hymers@ynic.york.ac.uk>
Sun, 4 Oct 2009 14:12:35 +0000 (15:12 +0100)
Signed-off-by: Mark Hymers <mark.hymers@ynic.york.ac.uk>
dak/process_unchecked.py

index 0eec1ee80d7c537a307192ea181b4787a13bf53f..cae48a7ee0c54647be58048d3d142ef8dc5b898e 100755 (executable)
@@ -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...