]> git.decadent.org.uk Git - dak.git/commitdiff
well spotted by Ganneff
authorMark Hymers <mhy@debian.org>
Wed, 4 Nov 2009 11:21:44 +0000 (11:21 +0000)
committerMark Hymers <mhy@debian.org>
Wed, 4 Nov 2009 11:21:44 +0000 (11:21 +0000)
Signed-off-by: Mark Hymers <mhy@debian.org>
daklib/dbconn.py

index dd5aa2decf3dc2e4ab10ca0f6c293326cfa41a21..5e9f547809b0aaccf3e0613904ff56b9a49af824 100644 (file)
@@ -506,8 +506,8 @@ class BuildQueue(object):
             os.close()
 
             # Run apt-ftparchive generate
-            os.chdir(os.path.dirname(fl_name))
-            os.system('apt-ftparchive -qq -o APT::FTPArchive::Contents=off generate %s' % os.path.basename(fl_name))
+            os.chdir(os.path.dirname(ac_name))
+            os.system('apt-ftparchive -qq -o APT::FTPArchive::Contents=off generate %s' % os.path.basename(ac_name))
 
             # Run apt-ftparchive release
             # TODO: Eww - fix this