cb70868bda
The goal is to able to do partial build without having to source Env.Host.sh into one's environment There is 2 way to use this: 1/ copy the scripts lo_find_src_root and lo_proxy_start somewhere in your PATH, and then you can add alias build='lo_proxy_start build' alias deliver='lo_proxy_start deliver' in your .bashrc at that point you can use build and deliver anywhere in the source tree without the need to source anything. This allow you to switch from one source tree to another. the proper SRC_ROOT will be determined automatically based on the current working directory 2/ source build_env build_env only source the bare minimum to allow build and make to work for the associated source tree. If you want to work in a diffrent tree, you need to resource
11 lines
217 B
Text
Executable file
11 lines
217 B
Text
Executable file
|
|
if hash lo_proxy_start 2>&- ; then
|
|
base_alias="lo_proxy_start"
|
|
else
|
|
base_alias="@SRC_ROOT@/solenv/bin/lo_proxy_start"
|
|
fi
|
|
|
|
alias build="$base_alias build"
|
|
alias deliver="$base_alias deliver"
|
|
|
|
unset base_alias
|