Mailing List Archives
Authenticated access
|
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Condor-users] config settings using output of command
- Date: Sat, 13 Nov 2004 18:52:53 -0500
- From: Dan Christensen <jdc@xxxxxx>
- Subject: [Condor-users] config settings using output of command
Is it possible to do something like
CONFIG_SETTING = $SHELL(whoami)
to set a configuration variable to the output of a command? The
motivating example would be something like
HASPYTHON = $SHELL(which python > /dev/null && echo True || echo False)
STARTD_EXPRS = HASPYTHON, $(STARTD_EXPRS)
so that machine classAd's indicate whether they have a certain
executable installed.
Or is there another way to achieve this?
Thanks,
Dan