comparison bin/initpbuilder.py @ 102:e6cfe3b80956

fix typos
author Bernhard Herzog <bh@intevation.de>
date Tue, 04 Mar 2008 14:08:17 +0000
parents 9a602d8eaa60
children b4226070371f
comparison
equal deleted inserted replaced
101:fb5332a286cf 102:e6cfe3b80956
1 #! /usr/bin/python2.4 1 #! /usr/bin/python2.4
2 # Copyright (C) 2007 by Intevation GmbH 2 # Copyright (C) 2007, 2008 by Intevation GmbH
3 # Authors: 3 # Authors:
4 # Bernhard Herzog <bh@intevation.de> 4 # Bernhard Herzog <bh@intevation.de>
5 # 5 #
6 # This program is free software under the GPL (>=v2) 6 # This program is free software under the GPL (>=v2)
7 # Read the file COPYING coming with the software for details. 7 # Read the file COPYING coming with the software for details.
75 75
76 # create the pbuilderrcfile 76 # create the pbuilderrcfile
77 print "creating pbuilderrc:", repr(pbuilderrc) 77 print "creating pbuilderrc:", repr(pbuilderrc)
78 writefile(pbuilderrc, pbuilderrc_template % replacements) 78 writefile(pbuilderrc, pbuilderrc_template % replacements)
79 79
80 # turn the extra-pkg directory into a property deb archive 80 # turn the extra-pkg directory into a proper deb archive
81 print "turning the extra-pkg dir into a debian archive" 81 print "turning the extra-pkg dir into a debian archive"
82 extra_pkgdir = replacements["extra-pkgdir"] 82 extra_pkgdir = replacements["extra-pkgdir"]
83 call(["apt-ftparchive", "packages", "."], 83 call(["apt-ftparchive", "packages", "."],
84 stdout=open(os.path.join(extra_pkgdir, "Packages"), "w"), 84 stdout=open(os.path.join(extra_pkgdir, "Packages"), "w"),
85 cwd=extra_pkgdir) 85 cwd=extra_pkgdir)
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)