[#6699037] Changed rebuild_osx_system_env pip script so that it needs to be executed as sudo (to facilitate installation of system Python packages) rather than having explicit sudo calls in the script. Added check to ensure script is executed with sudo or as root user. Corrected assignment of PIP_DIR variable. Replaced literal "python x" calls with calls to the configured python interpreter specified by the PY_BIN_PATH configuration variable to ensure the expected interpreter is used. Inlined variables used in printf statements.
[#6699037] Changed rebuild_osx_system_env pip script so that it needs to be executed as sudo (to facilitate installation of system Python packages) rather than having explicit sudo calls in the script.
Added check to ensure script is executed with sudo or as root user.
Corrected assignment of PIP_DIR variable.
Replaced literal "python x" calls with calls to the configured python interpreter specified by the PY_BIN_PATH configuration variable to ensure the expected interpreter is used.
Inlined variables used in printf statements.
akvo/akvo-rsr,akvo/akvo-rsr,akvo/akvo-rsr,akvo/akvo-rsr