From 65bde83c9f0d6c25a9b0703007addf29d7efe027 Mon Sep 17 00:00:00 2001 From: James Troup Date: Fri, 16 Jun 2006 04:59:27 +0100 Subject: [PATCH] Normalize Dir::Queue::Disembargo by cd-ing into it. --- dak/process_unchecked.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/dak/process_unchecked.py b/dak/process_unchecked.py index 828b695d..36b091f2 100755 --- a/dak/process_unchecked.py +++ b/dak/process_unchecked.py @@ -1140,7 +1140,12 @@ def is_unembargo (): if ql: return 1 - if pkg.directory == Cnf["Dir::Queue::Disembargo"].rstrip("/"): + oldcwd = os.getcwd() + os.chdir(Cnf["Dir::Queue::Disembargo"]) + disdir = os.getcwd() + os.chdir(oldcwd) + + if pkg.directory == disdir: if changes["architecture"].has_key("source"): if Options["No-Action"]: return 1 -- 2.39.5