[Piuparts-devel] pull: feature/script-substitutions
holger at layer-acht.org
Wed Feb 20 09:42:56 UTC 2013
On Mittwoch, 20. Februar 2013, Andreas Beckmann wrote:
> On 2013-02-20 10:08, Holger Levsen wrote:
> > I'm not sure I like this, why substituting the code at build time and not
> > include or source it at runtime?
> Well, *WHERE* should I source this from?
> How could the script figure
> this out? Absolute paths don't work for running piuparts from git.
also if piuparts is installed from git, the path should be somehow
> And if we find a solution, we can easily change the current substitution
> to do that instead :-)
the path (to the to be included file) could be substituted at build time...
> And I never really liked copying the get_config_value function into
> every script when I introduced this some time ago ... I was afraid some
> day I would need to change something in it ... that day has come :-)
More information about the Piuparts-devel