--- python.eselect-orig 2009-08-03 22:30:14.000000000 +0100 +++ python.eselect 2009-08-03 23:04:06.000000000 +0100 @@ -138,8 +138,12 @@ } do_show() { - active=$(canonicalise "${INTERPRETER_PATH}python") - echo ${active#${INTERPRETER_PATH}} + if [[ ! -L ${INTERPRETER_PATH}python ]]; then + grep -o -m 1 'python\w.\w' "${INTERPRETER_PATH}python" + else + active=$(canonicalise "${INTERPRETER_PATH}python") + echo ${active#${INTERPRETER_PATH}} + fi } ### list action ###