]> git.ipfire.org Git - pakfire.git/commit
lexer: Add shell commands with %(echo 123..).
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 2 Oct 2012 20:04:43 +0000 (22:04 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 2 Oct 2012 20:04:43 +0000 (22:04 +0200)
commit2eceee39ef4d78e77101ece088d7833f1b83fdad
tree8888ebf31caaf16e47f34a0bd0ade5eb663e2e24
parentcae350969fc6ae01b1f4a10927c43340f1ca0592
lexer: Add shell commands with %(echo 123..).

It is possible to use shell commands, just like $(...) in shell.
It's a handy feature when you need some output of a tool
in a variable.

Every time the variable is expanded, the command is called.
It is not ensured that the personality is the same as in
the build environment.
python/pakfire/packages/lexer.py