mirror of https://github.com/ArduPilot/ardupilot
docker: remove "waf" alias
It was difficult to use the alias, since aliases aren't inherited by subshells, so the only way is to run `source ~/.ardpuilot_env` again inside the container, which doesn't seem worth it to avoid a couple of `./` which are in all of the documentation anyway.
This commit is contained in:
parent
1d810bfa6f
commit
26596484ed
|
@ -37,9 +37,6 @@ USER ${USER_NAME}
|
|||
ENV SKIP_AP_EXT_ENV=$SKIP_AP_EXT_ENV SKIP_AP_GRAPHIC_ENV=$SKIP_AP_GRAPHIC_ENV SKIP_AP_COV_ENV=$SKIP_AP_COV_ENV SKIP_AP_GIT_CHECK=$SKIP_AP_GIT_CHECK
|
||||
RUN Tools/environment_install/install-prereqs-ubuntu.sh -y
|
||||
|
||||
# add waf alias to ardupilot waf to .ardupilot_env
|
||||
RUN echo "alias waf=\"/${USER_NAME}/waf\"" >> ~/.ardupilot_env
|
||||
|
||||
# Check that local/bin are in PATH for pip --user installed package
|
||||
RUN echo "if [ -d \"\$HOME/.local/bin\" ] ; then\nPATH=\"\$HOME/.local/bin:\$PATH\"\nfi" >> ~/.ardupilot_env
|
||||
|
||||
|
|
Loading…
Reference in New Issue