function to make a target cannot be called in a pipe
Function called in a pipeline are not called in the scope as the script. Example:
pbuild::pre_configure() {
VAR=42
}
pbuild::pre_configure | tee logfile
# VAR is not set!
echo $VAR
Code indexing in gitaly is broken and leads to code not being visible to the user. We work on the issue with highest priority.
Function called in a pipeline are not called in the scope as the script. Example:
pbuild::pre_configure() {
VAR=42
}
pbuild::pre_configure | tee logfile
# VAR is not set!
echo $VAR