13 Nov
2008
13 Nov
'08
5:05 p.m.
Marc - A. Dahlhaus [ Administration | Westermann GmbH ] wrote:
Hello Allen,
the prototype has a little problem in case you give -L option to makepkg as it is now:
As makepkg pipes the output of the build-function into tee, the build-function gets executed in a sub-shell. Any changes of variables in context of main-shell from inside build-function will not work in that case. This leads to that we have to set the values of all split-package-variables outside of the respective build-functions.
As I said, the implementation is still a bit away... The KDEmod guys override the PKGBUILD variables the same way. I will look into what they for logging. Cheers, Allan