From 75a5415dbc21462c95a3c91016fd7b65511eb49b Mon Sep 17 00:00:00 2001 From: Dmitriy Rabotyagov Date: Sun, 13 Sep 2020 13:47:45 +0300 Subject: [PATCH] Fix python-stow-versions DIB_PYTHON_PREFIX variable was neither defined nor needed. Change-Id: I36ebe5a6dee511c0c89cc251e9ec340ec7ed915d --- .../python-stow-versions/post-install.d/70-python-build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/diskimage_builder/elements/python-stow-versions/post-install.d/70-python-build b/diskimage_builder/elements/python-stow-versions/post-install.d/70-python-build index fd05f7e0..5ac6782a 100755 --- a/diskimage_builder/elements/python-stow-versions/post-install.d/70-python-build +++ b/diskimage_builder/elements/python-stow-versions/post-install.d/70-python-build @@ -7,9 +7,9 @@ set -eu set -o pipefail DIB_PYTHON_FILES=('/usr/local/bin/pyenv-install', \ - '/usr/localbin/pyenv-uninstall', '/usr/local/bin/python-build', \ + '/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 ${DIB_PYTHON_PREFIX}/${path} + rm -rf ${path} done