]> git.decadent.org.uk Git - dak.git/blobdiff - dak/process_unchecked.py
Merge commit 'origin/sqlalchemy' into sqlalchemy
[dak.git] / dak / process_unchecked.py
index ca61ee3e3a4c5e2a806d354742c92cb554b4d09f..cb31d8a24b44eb2da38a373dc4e2ca685179ac98 100755 (executable)
@@ -1465,6 +1465,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"]
@@ -1494,7 +1495,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...