From: Mark Hymers Date: Wed, 4 Nov 2009 11:21:44 +0000 (+0000) Subject: well spotted by Ganneff X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=30767be11759cacb9fc2daad6a5860f20502eb83;p=dak well spotted by Ganneff Signed-off-by: Mark Hymers --- diff --git a/daklib/dbconn.py b/daklib/dbconn.py index dd5aa2de..5e9f5478 100644 --- a/daklib/dbconn.py +++ b/daklib/dbconn.py @@ -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