expand $1 and $2 in GIT_REPO,DARCS_REPO,HG_REPO

Issue #303 resolved
Roland Haas created an issue

I propose to apply the patch below to allow $1 and $2 to be expanded in GIT_REPO etc. this allows for things like:

!TARGET = $ARR !TYPE = git !URL = $USER@numrel.org:/home/numrel/arrangements/$1/$2 !REPO_PATH = ../$2 !CHECKOUT = Scotch/SoundSpeed Scotch/TotalRestMass

to check out both SoundSpeed an TotalRestMass, which are both separate git repositories.

Without the patch one has to repeat the whole $TARGET stanza for each and every thorn (since each thorn is a repository) only changing $1/$2 to Scotch/ThornName.

I tested the patch with einsteintoolkit.th and the resulting checkout (using --parallel) is identical with and without the patch.

Keyword:

Comments (3)

  1. Log in to comment