[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnu-arch-users] tla configurations and recursive commands.
From: |
Matthieu MOY |
Subject: |
[Gnu-arch-users] tla configurations and recursive commands. |
Date: |
Tue, 18 May 2004 12:38:46 +0200 |
User-agent: |
Internet Messaging Program (IMP) 3.1 |
Hi,
I'm spliting my project into several subprojects, using tla configurations to
manage the whole tree.
I know I can call most commands recursively with
tla cat-config CFGNAME | awk '{print $1}' | xargs ...
But then, I have to know wich configuration I'm currently using. This is rather
easy when done manually, but I'd like to make something more automatic (in
particular, in xtla.el).
So, I'd like "tla build-config" to keep track of the current configuration, and
"tla cat-config" to be able to run without argument, taking the current
configuration.
I mean, integrate in tla the behavior of a wrapper
=== tla build-config ===
echo $cfgname > $(tla tree-root)/{arch}/++current-configuration
tla build-config $cfgname
=== tla cat-config ===
if [ some-argument-is-given ]
then
--
Matthieu
-------------------------------------------------
envoyé via Webmail/IMAG !
- [Gnu-arch-users] tla configurations and recursive commands.,
Matthieu MOY <=