]> git.decadent.org.uk Git - dak.git/commitdiff
Actually use dest_dir argument
authorChris Lamb <lamby@debian.org>
Wed, 28 Oct 2009 20:38:08 +0000 (20:38 +0000)
committerChris Lamb <lamby@debian.org>
Wed, 28 Oct 2009 20:38:08 +0000 (20:38 +0000)
Signed-off-by: Chris Lamb <lamby@debian.org>
daklib/queue.py

index dc13b43d5bae11defdfe85b5f390b25e49f88f6c..31f9a25be9e48e5f34ea59d3d6743f539338825e 100755 (executable)
@@ -1048,7 +1048,7 @@ class Upload(object):
                 if re_is_orig_source.match(f) and self.pkg.orig_files.has_key(f) and \
                    self.pkg.orig_files[f].has_key("path"):
                     continue
-                dest = os.path.join(os.getcwd(), f)
+                dest = os.path.join(dest_dir, f)
                 os.symlink(src, dest)
 
         # If the orig files are not a part of the upload, create symlinks to the