[csw-maintainers] GAR: Preprocessing a postinstall file

Maciej (Matchek) Blizinski maciej at opencsw.org
Mon Jan 11 17:48:13 CET 2010


On Sat, Dec 12, 2009 at 2:53 AM, Ben Walton <bwalton at opencsw.org> wrote:
> Excerpts from Maciej (Matchek) Blizinski's message of Fri Dec 11 20:27:14 -0500 2009:
>> Suppose I have a file CSWfoo.postinstall, which has some variables
>> which need to be substituted before the file can be shipped.
>> Something along the lines of:
>>
>> mycommand=@bindir@/foo
>
> Use the dynamic adm script capability in GAR.

I've found a side effect of this capability: The preprocessed scripts
are copied to /home/src on "gmake garchive".  It holds for postgresql
and gitosis.  I'm guessing that you've never done gmake garchive for
docbook.



More information about the maintainers mailing list