From 014d10bf98f10ffc651a40366a83cd471d8200ee Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sat, 31 Aug 2024 09:29:48 +0200 Subject: [PATCH] ln --- spcd/bootstrap.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/spcd/bootstrap.sh b/spcd/bootstrap.sh index 596dc99..d579be8 100644 --- a/spcd/bootstrap.sh +++ b/spcd/bootstrap.sh @@ -819,10 +819,10 @@ spcd_install_package() { } spcd_python_ln() { - spcd_python_ln__command="${1}" - if [ -n "${spcd_python_ln__command}" ]; then - echo "→ ${SPCD_PYTHON_ALIAS} → ${spcd_python_ln__command}" - ln -f -s "${spcd_python_ln__command}" \ + local command="${1}" + if [ -n "${command}" ]; then + echo "→ ${SPCD_PYTHON_ALIAS} → ${command}" + ln -f -s "${command}" \ "/usr/bin/${SPCD_PYTHON_ALIAS}" fi }