#1270: Formaline doesn't understand CACTUS_CONFIGS_DIR ----------------------+----------------------------------------------------- Reporter: sbrandt | Owner: Type: defect | Status: review Priority: major | Milestone: ET_2013_05 Component: Other | Version: development version Resolution: | Keywords: Formaline ----------------------+-----------------------------------------------------
Comment (by eschnett):
As hinted earlier, this will only work if CACTUS_CONFIGS_DIR is a relative path (i.e. does not start with a slash) that points to a subdirectory (i.e. does not use ".." to escape to a different location). Is that the case here? (Probably not.)
These conditions should also be tested, with errors if they are violated.
The best solution is probably to create a directory "configs" somewhere, copy the files there, and then run the tar/git commands there, and then remove this new "configs" directory again.
On a different note: It is also debatable that this information should be combined with the flesh. Probably, a new tarball named "config" should be created for this.