From d9e772eb6ed4afa99563e82756f02a40f6c112c9 Mon Sep 17 00:00:00 2001 From: Yamashita Yuu Date: Sun, 19 Oct 2014 00:34:20 +0900 Subject: [PATCH] Stop creating symlinks w/ version suffix if `altinstall` has specified (#182, #255) --- plugins/python-build/bin/python-build | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/python-build/bin/python-build b/plugins/python-build/bin/python-build index 8f45f894..dd918c2f 100755 --- a/plugins/python-build/bin/python-build +++ b/plugins/python-build/bin/python-build @@ -1282,7 +1282,9 @@ verify_python() { ln -fs "${PREFIX_PATH}/Python.framework/Versions/Current/bin" "${PREFIX_PATH}/bin" fi - create_symlinks "$1" + if [[ "$PYTHON_MAKE_INSTALL_TARGET" != *"altinstall"* ]]; then + create_symlinks "$1" + fi if [ ! -x "${PYTHON_BIN}" ]; then { colorize 1 "ERROR"