X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Fprocess_unchecked.py;h=36b091f298ba42083407a12e713a972d0c54f403;hb=65bde83c9f0d6c25a9b0703007addf29d7efe027;hp=828b695dfbfdd23e6d51d55a387549a8b72ab21d;hpb=0dc3bac257d097f81c6296e371c44fa4f7087465;p=dak.git 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