From: Jeremy Blosser <jblosser-smgl AT firinn.org>
To: sm-commit AT lists.ibiblio.org
Subject: Re: [SM-Commit] GIT changes to master grimoire by Pol Vinogradov (0212ebe3c071a89b1abd98903b93e68be8fa67fc)
Date: Fri, 2 Mar 2007 19:18:06 -0600
On Mar 02, Jeremy Blosser [jblosser-smgl AT firinn.org] wrote:
> If a spell wants to change the contents *inside* a file so that the package
> will be able to refer to itself after the install is done and it is on its
> running system, it should always be TRACK_ROOT. The *only* thing that
> will ever care what was in TRACK_ROOT is the package itself after it is
> installed and running.
In case that is even confusing, this is correct usage of both to do what is
mentioned above:
# Tell this file where it was installed:
sed -i -e "s%/usr/file%$TRACK_ROOT/usr/file%g" $INSTALL_ROOT/usr/file