On 12.04.2015 14:08, e271p314 wrote:
I'd like to assign a variable in a Tupfile the output of the command
|find . -name "*.cpp" -exec dirname {} \; | sort -u|. How can I do it?
You cannot do that in tup directly. You can use shell (with `...`) but
only "in" commands (the actual command may come from a variable, but it
has to be part of command in tup rule). If you really need things like
that, your may want to check tup run scripts. You may also save result
of such call into a text file and use that later for some other rule.
Regards,
FCh
--
--
tup-users mailing list
email: [email protected]
unsubscribe: [email protected]
options: http://groups.google.com/group/tup-users?hl=en
---
You received this message because you are subscribed to the Google Groups "tup-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.