75a5415dbc
DIB_PYTHON_PREFIX variable was neither defined nor needed. Change-Id: I36ebe5a6dee511c0c89cc251e9ec340ec7ed915d
15 lines
324 B
Bash
Executable file
15 lines
324 B
Bash
Executable file
#!/bin/bash
|
|
|
|
if [ ${DIB_DEBUG_TRACE:-0} -gt 1 ]; then
|
|
set -x
|
|
fi
|
|
set -eu
|
|
set -o pipefail
|
|
|
|
DIB_PYTHON_FILES=('/usr/local/bin/pyenv-install', \
|
|
'/usr/local/bin/pyenv-uninstall', '/usr/local/bin/python-build', \
|
|
'/usr/local/share/python-build', '/pyenv')
|
|
|
|
for path in ${DIB_PYTHON_FILES}; do
|
|
rm -rf ${path}
|
|
done
|