Mercurial > treepkg
comparison demo.cfg @ 2:e6a9f4037f68
readconfig.py is smarter now about conversions and supports shlex
author | Bernhard Herzog <bh@intevation.de> |
---|---|
date | Thu, 08 Mar 2007 19:55:44 +0100 |
parents | 02d5702314a3 |
children | 7e9db903ba16 |
comparison
equal
deleted
inserted
replaced
1:02d5702314a3 | 2:e6a9f4037f68 |
---|---|
10 # root_cmd followed by the pbuilder command line. With the default it | 10 # root_cmd followed by the pbuilder command line. With the default it |
11 # is something like | 11 # is something like |
12 # | 12 # |
13 # sudo pbuilder build <name-of-dsc-file> | 13 # sudo pbuilder build <name-of-dsc-file> |
14 # | 14 # |
15 # The way it's implemented now, the command is interpreted as a single | 15 # The value of this option is split into words with the python function |
16 # shell word which means that you cannot define any command line | 16 # shlex.split. See the python documentation for the precise semantics. |
17 # parameters for the root_cmd. The reason for this limitation is that | 17 # shlex.split works pretty much like a POSIX shell but it doesn't to any |
18 # the code does not use a shell to interpret the command line. A later | 18 # expansions. |
19 # version might use Python's shlex module to split this command into | |
20 # words. | |
21 # | 19 # |
22 # Set an empty value to indicate that no special command is needed. | 20 # Set an empty value to indicate that no special command is needed. |
23 # | 21 # |
24 # You can override this in the pkg_ sections if you need package | 22 # You can override this in the pkg_ sections if you need package |
25 # specific values | 23 # specific values |