[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[HTCondor-users] Amending the "environment" submit directive with new syntax



Suppose you have a new-syntax environment directive like so:

environment = " ABC=123 "

And suppose you wanted to use an "-append" command line option to add another variable or two to the list:

condor_submit -append 'environment="$(ENVIRONMENT) DEF=456"'

You wind up with:

environment = " " ABC=123 " DEF=456"

... which is invalid, needless to say.

Is there some quick and clever best-practice approach to amending an existing new-syntax environment statement in a submit description? Or should I just use old syntax in this situation?

 

Michael V. Pelletier
IT Program Execution
Principal Engineer
978.858.9681 (5-9681)
339.293.9149 cell
michael.v.pelletier@xxxxxxxxxxxx