X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;ds=inline;f=daklib%2Fdbconn.py;h=00026a8dceb7d16b73b2bc2981af3dbe0d312394;hb=4f4b68c7204b235ddf25b61645a7994ee05548be;hp=4ba23b6222ddd1d048113eb554fab66c9fcf268d;hpb=155484bc9688e07f75704941f57ba037084d053b;p=dak.git diff --git a/daklib/dbconn.py b/daklib/dbconn.py index 4ba23b62..00026a8d 100755 --- a/daklib/dbconn.py +++ b/daklib/dbconn.py @@ -467,11 +467,11 @@ class BuildQueue(object): if self.copy_files: # We need to copy instead of symlink import utils - utils.copy(targetfile, queuepath) + utils.copy(targetpath, queuepath) # NULL in the fileid field implies a copy qf.fileid = None else: - os.symlink(targetfile, queuepath) + os.symlink(targetpath, queuepath) qf.fileid = poolfile.file_id except OSError: return None