[dak/master] clean up holding path
Signed-off-by: Mark Hymers <mark.hymers@ynic.york.ac.uk>
---
dak/process_unchecked.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dak/process_unchecked.py b/dak/process_unchecked.py
index 0eec1ee..cae48a7 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...
--
1.5.6.5
Reply to: