viesturz / klipper-toolchanger

Toolcahnging extension for Klipper
GNU General Public License v3.0
49 stars 16 forks source link

issue in install.sh #3

Closed TheSin- closed 7 months ago

TheSin- commented 7 months ago
    ln -srfn "${INSTALL_PATH}/klipper/extras/*" "${KLIPPER_PATH}/klippy/extras/"

This will make a link to a file calls *

Something like

for file in "${INSTALL_PATH}"/klipper/extras/*.py; do ln -sfn "${file}" "${KLIPPER_PATH}/klippy/extras/"; done

would be more robust and less shell specific

TheSin- commented 7 months ago

Fix is merged